File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ cd "$(git rev-parse --show-toplevel)"
14
14
CIRQ_MODULES=$( env PYTHONPATH=. python dev_tools/modules.py list --mode package-path)
15
15
16
16
# Add dev_tools to $PYTHONPATH so that pylint can find custom checkers
17
- env PYTHONPATH=dev_tools pylint --rcfile=dev_tools/conf/.pylintrc " $@ " $CIRQ_MODULES dev_tools examples
17
+ env PYTHONPATH=dev_tools pylint --jobs=0 -- rcfile=dev_tools/conf/.pylintrc " $@ " $CIRQ_MODULES dev_tools examples
Original file line number Diff line number Diff line change @@ -66,4 +66,4 @@ echo "Found ${num_changed} lintable files associated with changes." >&2
66
66
if [ " ${num_changed} " -eq 0 ]; then
67
67
exit 0
68
68
fi
69
- env PYTHONPATH=dev_tools pylint --rcfile=dev_tools/conf/.pylintrc " ${changed[@]} "
69
+ env PYTHONPATH=dev_tools pylint --jobs=0 -- rcfile=dev_tools/conf/.pylintrc " ${changed[@]} "
Original file line number Diff line number Diff line change @@ -638,7 +638,7 @@ def test_pylint_changed_files_file_selection(tmpdir_factory):
638
638
)
639
639
640
640
intercepted_prefix = (
641
- 'INTERCEPTED env PYTHONPATH=dev_tools pylint --rcfile=dev_tools/conf/.pylintrc '
641
+ 'INTERCEPTED env PYTHONPATH=dev_tools pylint --jobs=0 -- rcfile=dev_tools/conf/.pylintrc '
642
642
)
643
643
644
644
result = run (
You can’t perform that action at this time.
0 commit comments