Update pylintrc to use sys_path_hacks/ for LMS (#25164)

This commit is contained in:
Kyle McCormick
2020-09-30 16:48:31 -04:00
committed by GitHub
parent 329a1147e3
commit 8b52ccd659
2 changed files with 3 additions and 3 deletions

View File

@@ -71,7 +71,7 @@
ignore = ,.git,.tox,migrations,node_modules,.pycharm_helpers
persistent = yes
load-plugins = edx_lint.pylint,pylint_django,pylint_celery
init-hook = "import sys; sys.path.extend(['lms/djangoapps', 'cms/djangoapps', 'common/djangoapps'])"
init-hook = "import sys; sys.path.extend(['sys_path_hacks/lms', 'cms/djangoapps', 'common/djangoapps'])"
[MESSAGES CONTROL]
enable =
@@ -464,4 +464,4 @@ int-import-graph =
[EXCEPTIONS]
overgeneral-exceptions = Exception
# 39382844f3a3bba57480054a7c1e27ab1e2ec969
# 7bfb536a0940715cbd9013a31f37e8c2fc09f16c

View File

@@ -1,7 +1,7 @@
# pylintrc tweaks for use with edx_lint.
[MASTER]
ignore+ = ,.git,.tox,migrations,node_modules,.pycharm_helpers
init-hook="import sys; sys.path.extend(['lms/djangoapps', 'cms/djangoapps', 'common/djangoapps'])"
init-hook="import sys; sys.path.extend(['sys_path_hacks/lms', 'cms/djangoapps', 'common/djangoapps'])"
[MESSAGES CONTROL]
disable+ =