From 715df64b467469d669f4db2b0824851168479be5 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Tue, 22 Jan 2019 20:55:30 +0800 Subject: [PATCH] build: do not lint python scripts under test/fixtures PR-URL: https://github.com/nodejs/node/pull/25639 Reviewed-By: Ben Noordhuis Reviewed-By: Richard Lau Reviewed-By: Colin Ihrig Reviewed-By: Anna Henningsen Reviewed-By: Refael Ackermann Reviewed-By: Sakthipriyan Vairamani --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 36b61af399da58..9fcf7e08701773 100644 --- a/Makefile +++ b/Makefile @@ -1294,7 +1294,7 @@ ifneq ("","$(wildcard tools/pip/site-packages)") lint-py: PYTHONPATH=tools/pip $(PYTHON) -m flake8 . \ --count --show-source --statistics --select=E901,E999,F821,F822,F823 \ - --exclude=.git,deps,lib,src,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip + --exclude=.git,deps,lib,src,test/fixtures,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2,tools/markupsafe,tools/pip else lint-py: @echo "Python linting with flake8 is not avalible"