mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Internals: Run yapf3 in parallel
This commit is contained in:
parent
b1927e4fb5
commit
17b70788df
@ -441,6 +441,7 @@ PY_PROGRAMS = \
|
|||||||
src/flexfix \
|
src/flexfix \
|
||||||
src/vlcovgen \
|
src/vlcovgen \
|
||||||
src/.gdbinit.py \
|
src/.gdbinit.py \
|
||||||
|
test_regress/*.py \
|
||||||
test_regress/t/*.pf \
|
test_regress/t/*.pf \
|
||||||
nodist/clang_check_attributes \
|
nodist/clang_check_attributes \
|
||||||
nodist/code_coverage \
|
nodist/code_coverage \
|
||||||
@ -454,11 +455,14 @@ PY_FILES = \
|
|||||||
$(PY_PROGRAMS) \
|
$(PY_PROGRAMS) \
|
||||||
nodist/code_coverage.dat \
|
nodist/code_coverage.dat \
|
||||||
|
|
||||||
|
PY_FILES_NOLINT = \
|
||||||
|
test_regress/t/*.py \
|
||||||
|
|
||||||
YAPF = yapf3
|
YAPF = yapf3
|
||||||
YAPF_FLAGS = -i
|
YAPF_FLAGS = -i --parallel
|
||||||
|
|
||||||
yapf:
|
yapf:
|
||||||
$(YAPF) $(YAPF_FLAGS) $(PY_FILES)
|
$(YAPF) $(YAPF_FLAGS) $(PY_FILES) $(PY_FILES_NOLINT)
|
||||||
|
|
||||||
PYLINT = pylint
|
PYLINT = pylint
|
||||||
PYLINT_FLAGS = --score=n --disable=R0801
|
PYLINT_FLAGS = --score=n --disable=R0801
|
||||||
|
Loading…
Reference in New Issue
Block a user