Skip to content

Commit df62969

Browse files
committed
Added Flake8 exclusion
1 parent 9877235 commit df62969

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.flake8

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ ignore = C901, E203, E266, E501, E731, W503
33
select = B,C,E,F,W,T4
44
per-file-ignores =
55
tests/*: E722, F811
6+
dash/html/I.py: E742

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"private::format.renderer": "cd dash/dash-renderer && npm run format",
77
"private::initialize.renderer": "cd dash/dash-renderer && npm ci",
88
"private::lint.black": "if [ ${PYLINTRC:-x} != '.pylintrc' ]; then black dash tests --exclude metadata_test.py --check; fi",
9-
"private::lint.flake8": "flake8 --exclude=metadata_test.py,dash/html/I.py dash tests",
9+
"private::lint.flake8": "flake8 --exclude=metadata_test.py dash tests",
1010
"private::lint.pylint-dash": "PYLINTRC=${PYLINTRC:=.pylintrc39} && pylint dash setup.py --rcfile=$PYLINTRC",
1111
"private::lint.pylint-tests": "PYLINTRC=${PYLINTRC:=.pylintrc39} && pylint tests/unit tests/integration -d all --rcfile=$PYLINTRC",
1212
"private::lint.renderer": "cd dash/dash-renderer && npm run lint",

0 commit comments

Comments
 (0)