@@ -378,7 +378,7 @@ def graalpython_gate_runner(args, tasks):
378378
379379 with Task ('GraalPython license header update' , tasks , tags = [GraalPythonTags .license ]) as task :
380380 if task :
381- python_checkcopyrights (["--fix" ])
381+ python_checkcopyrights ([])
382382
383383 with Task ('GraalPython GraalVM shared-library build' , tasks , tags = [GraalPythonTags .shared_object , GraalPythonTags .graalvm ]) as task :
384384 if task :
@@ -734,7 +734,7 @@ def update_import_cmd(args):
734734
735735def python_style_checks (args ):
736736 "Check (and fix where possible) copyrights, eclipse formatting, and spotbugs"
737- python_checkcopyrights (["--fix" ])
737+ python_checkcopyrights (["--fix" ] if "--fix" in args else [] )
738738 if not os .environ .get ("ECLIPSE_EXE" ):
739739 find_eclipse ()
740740 if os .environ .get ("ECLIPSE_EXE" ):
@@ -1084,7 +1084,7 @@ def python_build_watch(args):
10841084 'deploy-binary-if-master' : [deploy_binary_if_master , '' ],
10851085 'python-gate' : [python_gate , '--tags [gates]' ],
10861086 'python-update-import' : [update_import_cmd , '[import-name, default: truffle]' ],
1087- 'python-style' : [python_style_checks , '' ],
1087+ 'python-style' : [python_style_checks , '[--fix] ' ],
10881088 'python-svm' : [python_svm , '' ],
10891089 'python-gvm' : [python_gvm , '' ],
10901090 'python-unittests' : [python3_unittests , '' ],
0 commit comments