pylintrc_tweaks 392 Bytes
Newer Older
1 2
# pylintrc tweaks for use with edx_lint.
[MASTER]
3
ignore+ = ,.git,.tox,migrations,node_modules,.pycharm_helpers
4
init-hook="import sys; sys.path.extend(['lms/djangoapps', 'cms/djangoapps', 'common/djangoapps'])"
Robert Raposa committed
5 6 7 8 9 10

[BASIC]
attr-rgx = [a-z_][a-z0-9_]{2,40}$
argument-rgx = [a-z_][a-z0-9_]{2,40}$
variable-rgx = [a-z_][a-z0-9_]{2,40}$
class-attribute-rgx = ([A-Za-z_][A-Za-z0-9_]{2,40}|(__.*__))$