Skip to content

Commit 01b48d6

Browse files
committed
update style + copyright checks
1 parent a3b622b commit 01b48d6

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

graalpython/com.oracle.graal.python.test/src/tests/standalone/test_standalone.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2023, 2024, Oracle and/or its affiliates. All rights reserved.
22
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
#
44
# The Universal Permissive License (UPL), Version 1.0

mx.graalpython/mx_graalpython.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2018, 2023, Oracle and/or its affiliates.
1+
# Copyright (c) 2018, 2024, Oracle and/or its affiliates.
22
# Copyright (c) 2013, Regents of the University of California
33
#
44
# All rights reserved.
@@ -2046,6 +2046,9 @@ def _python_checkpatchfiles():
20462046
'numpy-1.23.1.patch',
20472047
'numpy-1.23.4.patch',
20482048
'numpy-1.23.5.patch',
2049+
# pythran started putting the while license text in the field. It's MIT
2050+
'pythran-0.12.0.patch',
2051+
'pythran-0.13.patch',
20492052
# libcst is MIT
20502053
'libcst-1.0.1.patch',
20512054
# Empty license field, skip it. It's MIT

mx.graalpython/test_json_parsing.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
22
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
#
44
# The Universal Permissive License (UPL), Version 1.0
@@ -53,7 +53,8 @@
5353
import mx
5454
except ImportError:
5555
if mx_exe := shutil.which("mx"):
56-
sys.path.append(os.path.dirname(os.path.realpath(mx_exe)))
56+
mx_path = os.path.dirname(os.path.realpath(mx_exe))
57+
sys.path.append(os.path.join(mx_path, "src"))
5758

5859

5960
class TestJsonBenchmarkParsers(unittest.TestCase):

0 commit comments

Comments
 (0)