Skip to content

Commit 715df64

Browse files
joyeecheungrefack
authored andcommitted
build: do not lint python scripts under test/fixtures
PR-URL: #25639 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent 11387e1 commit 715df64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ ifneq ("","$(wildcard tools/pip/site-packages)")
12941294
lint-py:
12951295
PYTHONPATH=tools/pip $(PYTHON) -m flake8 . \
12961296
--count --show-source --statistics --select=E901,E999,F821,F822,F823 \
1297-
--exclude=.git,deps,lib,src,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip
1297+
--exclude=.git,deps,lib,src,test/fixtures,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip
12981298
else
12991299
lint-py:
13001300
@echo "Python linting with flake8 is not avalible"

0 commit comments

Comments
 (0)