forked from cmusatyalab/vmnetx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pylintrc
26 lines (21 loc) · 941 Bytes
/
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
# Configuration file for pylint.
[MASTER]
# Don't store collected data.
persistent=no
[MESSAGES CONTROL]
disable=missing-docstring,too-many-lines,locally-disabled,no-self-use,duplicate-code,too-many-ancestors,too-many-instance-attributes,too-few-public-methods,too-many-public-methods,too-many-return-statements,too-many-branches,too-many-arguments,too-many-locals,too-many-statements,star-args,redefined-builtin
[REPORTS]
# Disable reports
reports=no
[BASIC]
# Don't enforce length restrictions on variable names
variable-rgx=[a-z_][a-z0-9_]*$
# Allow module-level variables prefixed by underscore
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__)|(_[a-z][a-z0-9_]+))$
# As a special case, allow "fh" and "fd" as argument names
argument-rgx=([a-z_][a-z0-9_]{2,30})|fh|fd$
# As a special case, allow "id" as attribute name
attr-rgx=([a-z_][a-z0-9_]{2,30})|id$
[VARIABLES]
# Treat any variable name starting with _ as a dummy
dummy-variables-rgx=_