Skip to content

Commit f1c84c4

Browse files
enable some pylint rules
pylint 3 will fail if all rules are disabled! It looks like all the rules got disabled in 65a1d5c#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R11 so I added back as many rules that still pass. I'll restore the remaining rules in a followup PR
1 parent 78b0567 commit f1c84c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"private::lint.black": "node -e \"if ((process.env.PYVERSION || 'python312') !== 'python38'){process.exit(1)} \" || black dash tests --exclude metadata_test.py --check",
1515
"private::lint.flake8": "flake8 --exclude=metadata_test.py dash tests",
1616
"private::lint.pylint-dash": "PYLINTRC=${PYLINTRC:=.pylintrc312} && pylint dash setup.py --rcfile=$PYLINTRC",
17-
"private::lint.pylint-tests": "PYLINTRC=${PYLINTRC:=.pylintrc312} && pylint tests/unit tests/integration -d all --rcfile=$PYLINTRC",
17+
"private::lint.pylint-tests": "PYLINTRC=${PYLINTRC:=.pylintrc312} && pylint tests/unit tests/integration -d all -e C0410,C0413,W0109 --rcfile=$PYLINTRC",
1818
"private::lint.renderer": "cd dash/dash-renderer && npm run lint",
1919
"private::test.setup-components": "cd \\@plotly/dash-test-components && npm ci && npm run build",
2020
"private::test.setup-nested": "cd \\@plotly/dash-generator-test-component-nested && npm ci && npm run build",

0 commit comments

Comments
 (0)