-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpylintrc
26 lines (21 loc) · 1.19 KB
/
pylintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Settings for pylint
[MESSAGES CONTROL]
# line-too-long: Ignore line length warning of 80 characters
# no-name-in-module: Ignore issues related to PYTHON_PATH
# too-many-public-methods: Ignore public method count django
# too-few-public-methods: Ignore public method count when it's a small class
# too-man-return-statements: Ignore having more than 6 return statements
# deprecated-lambda: Use lambdas over list comprehensions
# blacklisted-name: Be able to name files foo.py
# fixme: Ignore FIXME and TODO comments
# C0111: Ignore method missing docstring
# C0103: Too short of variable names
# W0614, W0401: Ignore wildcard import settings
# W0142: * or ** 'magic'
# C0325: Unnecessary parens
# bad-continuation: This conflicts with black's alignment
disable=line-too-long, no-name-in-module, too-many-public-methods, too-few-public-methods, too-many-return-statements, unused-argument, fixme, deprecated-lambda, blacklisted-name, C0111, C0103, W0614, W0401, W0142, C0325, bad-continuation, no-self-use, too-many-arguments, too-many-branches, too-many-locals, W1202, R0915
[TYPECHECK]
# Assume these attributes are generated at runtime
# objects: Django model objects
generated-members=objects,DoesNotExist