Skip to content

Commit 608aa7b

Browse files
committed
fix linting
1 parent e97d6d6 commit 608aa7b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[flake8]
22
ignore = C901, E203, E266, E501, E731, W503
33
select = B,C,E,F,W,T4
4+
exclude = node_modules,metadata_test.py
45
per-file-ignores =
56
tests/*: E722, F811
67
dash/html/I.py: E742

.pylintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ ignore-patterns=
1717
# The regex matches against paths.
1818
ignore-paths=^dash/dcc/.*$,
1919
^dash/html/.*$,
20-
^dash/dash_table/.*$
20+
^dash/dash_table/.*$,
21+
^.*/node_modules/.*$
2122

2223
# Python code to execute, usually for sys.path manipulation such as
2324
# pygtk.require().

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"private::build.renderer": "cd dash/dash-renderer && rimraf build/dash_renderer.min.js && renderer build && sh renderer-test.sh",
1414
"private::build.jupyterlab": "cd @plotly/dash-jupyterlab && jlpm install && jlpm build:pack",
1515
"private::lint.black": "black dash tests --exclude metadata_test.py --check",
16-
"private::lint.flake8": "flake8 --exclude=metadata_test.py dash tests",
16+
"private::lint.flake8": "flake8 dash tests",
1717
"private::lint.pylint-dash": "pylint dash setup.py --rcfile=.pylintrc",
1818
"private::lint.pylint-tests": "pylint tests/unit tests/integration -d all -e C0410,C0413,W0109 --rcfile=.pylintrc",
1919
"private::lint.renderer": "cd dash/dash-renderer && npm run lint",

0 commit comments

Comments
 (0)