@@ -378,7 +378,7 @@ def graalpython_gate_runner(args, tasks):
378
378
379
379
with Task ('GraalPython license header update' , tasks , tags = [GraalPythonTags .license ]) as task :
380
380
if task :
381
- python_checkcopyrights (["--fix" ])
381
+ python_checkcopyrights ([])
382
382
383
383
with Task ('GraalPython GraalVM shared-library build' , tasks , tags = [GraalPythonTags .shared_object , GraalPythonTags .graalvm ]) as task :
384
384
if task :
@@ -734,7 +734,7 @@ def update_import_cmd(args):
734
734
735
735
def python_style_checks (args ):
736
736
"Check (and fix where possible) copyrights, eclipse formatting, and spotbugs"
737
- python_checkcopyrights (["--fix" ])
737
+ python_checkcopyrights (["--fix" ] if "--fix" in args else [] )
738
738
if not os .environ .get ("ECLIPSE_EXE" ):
739
739
find_eclipse ()
740
740
if os .environ .get ("ECLIPSE_EXE" ):
@@ -1084,7 +1084,7 @@ def python_build_watch(args):
1084
1084
'deploy-binary-if-master' : [deploy_binary_if_master , '' ],
1085
1085
'python-gate' : [python_gate , '--tags [gates]' ],
1086
1086
'python-update-import' : [update_import_cmd , '[import-name, default: truffle]' ],
1087
- 'python-style' : [python_style_checks , '' ],
1087
+ 'python-style' : [python_style_checks , '[--fix] ' ],
1088
1088
'python-svm' : [python_svm , '' ],
1089
1089
'python-gvm' : [python_gvm , '' ],
1090
1090
'python-unittests' : [python3_unittests , '' ],
0 commit comments