-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.pylintrc
More file actions
24 lines (18 loc) · 765 Bytes
/
.pylintrc
File metadata and controls
24 lines (18 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[MASTER]
load-plugins=pylint_django, pylint_celery
ignore=migrations
# https://stackoverflow.com/a/39207275/10952222
init-hook="import sys, os; sys.path.append(os.path.abspath('squarelet'))"
[FORMAT]
max-line-length=88
[MESSAGES CONTROL]
enable=useless-suppression
disable=fixme,missing-docstring,too-many-ancestors,too-few-public-methods,no-else-return,no-member,attribute-defined-outside-init,too-many-instance-attributes,similarities,raise-missing-from,django-not-configured,wrong-import-order,cyclic-import
[TYPECHECK]
generated-members=REQUEST,acl_users,aq_parent,"[a-zA-Z]+_set{1,2}",save,delete,objects
[BASIC]
const-rgx=(([A-Za-z_][A-Za-z0-9_]*)|(__.*__))$
good-names=pk,i,j,k,_
[DESIGN]
# Maximum number of arguments for function / method
max-args=8