Skip to content

Commit 28894af

Browse files
joyeecheungaddaleax
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 aa9a86a commit 28894af

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
@@ -1290,7 +1290,7 @@ ifneq ("","$(wildcard tools/pip/site-packages)")
12901290
lint-py:
12911291
PYTHONPATH=tools/pip $(PYTHON) -m flake8 . \
12921292
--count --show-source --statistics --select=E901,E999,F821,F822,F823 \
1293-
--exclude=.git,deps,lib,src,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip
1293+
--exclude=.git,deps,lib,src,test/fixtures,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip
12941294
else
12951295
lint-py:
12961296
@echo "Python linting with flake8 is not avalible"

0 commit comments

Comments
 (0)