Skip to content

Commit b9e8760

Browse files
joyeecheungBethGriggs
authored andcommitted
build: do not lint python scripts under test/fixtures
PR-URL: #25639 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent e842dcc commit b9e8760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ ifneq ("","$(wildcard tools/pip/site-packages)")
12431243
lint-py:
12441244
PYTHONPATH=tools/pip $(PYTHON) -m flake8 . \
12451245
--count --show-source --statistics --select=E901,E999,F821,F822,F823 \
1246-
--exclude=.git,deps,lib,src,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip
1246+
--exclude=.git,deps,lib,src,test/fixtures,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip
12471247
else
12481248
lint-py:
12491249
@echo "Python linting with flake8 is not avalible"

0 commit comments

Comments
 (0)