Merge pull request #11353 from edx/andya/ignore_node_modules
Ignore node_modules when checking Python quality
This commit is contained in:
4
pylintrc
4
pylintrc
@@ -53,7 +53,7 @@
|
||||
#
|
||||
# ------------------------------
|
||||
[MASTER]
|
||||
ignore = ,migrations
|
||||
ignore = ,.git,migrations,node_modules,.pycharm_helpers
|
||||
persistent = yes
|
||||
load-plugins = edx_lint.pylint,pylint_django,pylint_celery
|
||||
|
||||
@@ -180,4 +180,4 @@ int-import-graph =
|
||||
[EXCEPTIONS]
|
||||
overgeneral-exceptions = Exception
|
||||
|
||||
# b98d7d902efebf1f5eaafb847960e366a35fd51b
|
||||
# 42ec1461de97fc01d7191c1c5f2fd5ec67671a61
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# pylintrc tweaks for use with edx_lint.
|
||||
[MASTER]
|
||||
ignore+ = ,migrations
|
||||
ignore+ = ,.git,migrations,node_modules,.pycharm_helpers
|
||||
|
||||
[BASIC]
|
||||
attr-rgx = [a-z_][a-z0-9_]{2,40}$
|
||||
|
||||
@@ -29,4 +29,4 @@ no-path-adjustment=1
|
||||
# It's a little unusual, but we have good reasons for doing so, so we disable
|
||||
# this rule.
|
||||
ignore=E501,E265,W602
|
||||
exclude=migrations,.git,.pycharm_helpers,test_root/staticfiles
|
||||
exclude=migrations,.git,.pycharm_helpers,test_root/staticfiles,node_modules
|
||||
|
||||
Reference in New Issue
Block a user