Skip to content

Commit

Permalink
update style + copyright checks
Browse files Browse the repository at this point in the history
  • Loading branch information
timfel committed Jan 7, 2024
1 parent a3b622b commit 01b48d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# The Universal Permissive License (UPL), Version 1.0
Expand Down
5 changes: 4 additions & 1 deletion mx.graalpython/mx_graalpython.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018, 2023, Oracle and/or its affiliates.
# Copyright (c) 2018, 2024, Oracle and/or its affiliates.
# Copyright (c) 2013, Regents of the University of California
#
# All rights reserved.
Expand Down Expand Up @@ -2046,6 +2046,9 @@ def _python_checkpatchfiles():
'numpy-1.23.1.patch',
'numpy-1.23.4.patch',
'numpy-1.23.5.patch',
# pythran started putting the while license text in the field. It's MIT
'pythran-0.12.0.patch',
'pythran-0.13.patch',
# libcst is MIT
'libcst-1.0.1.patch',
# Empty license field, skip it. It's MIT
Expand Down
5 changes: 3 additions & 2 deletions mx.graalpython/test_json_parsing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# The Universal Permissive License (UPL), Version 1.0
Expand Down Expand Up @@ -53,7 +53,8 @@
import mx
except ImportError:
if mx_exe := shutil.which("mx"):
sys.path.append(os.path.dirname(os.path.realpath(mx_exe)))
mx_path = os.path.dirname(os.path.realpath(mx_exe))
sys.path.append(os.path.join(mx_path, "src"))


class TestJsonBenchmarkParsers(unittest.TestCase):
Expand Down

0 comments on commit 01b48d6

Please sign in to comment.