This repository has been archived by the owner on Apr 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pylintrc
71 lines (57 loc) · 1.47 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# .pylintrc
[MASTER]
profile = no
ignore = .git
persistent = yes
[MESSAGE CONTROL]
disable = missing-docstring
[REPORTS]
output-format = colorized
include-ids = no
files-output = no
symbols = no
reports = yes
comment = no
[VARIABLES]
dummy-variables-rgx = .*_unused|unused_.*|_.*
[TYPECHECK]
ignore-mixin-members = yes
[FORMAT]
max-line-length = 100
max-module-lines = 400
indent-string = ' '
[BASIC]
bad-functions = map,filter,apply,input
module-rgx = (([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
const-rgx = (([A-Z_][A-Z0-9_]*)|(__.*__))$
class-rgx = [A-Z_][a-zA-Z0-9]+$
function-rgx = [a-z_][a-z0-9_]{2,30}$
method-rgx = [a-z_][a-z0-9_]{2,30}$
attr-rgx = [a-z_][a-z0-9_]{2,30}$
argument-rgx = [a-z_][a-z0-9_]{2,30}$
variable-rgx = [a-z_][a-z0-9_]{2,30}$
class-attribute-rgx = ([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
inlinevar-rgx = [A-Za-z_][A-Za-z0-9_]*$
no-docstring-rgx = __.*__
# NOTE: set this to a reasonable value
docstring-min-length=-1
[SIMILARITIES]
ignore-comments = yes
ignore-docstrings = yes
ignore-imports = no
[IMPORTS]
deprecated-modules = regsub,string,TERMIOS,Bastion,rexec
[CLASSES]
valid-classmethod-first-arg = cls
[DESIGN]
max-args = 4
max-locals = 10
max-returns = 3
max-branches = 10
max-statements = 40
max-parents = 5
max-public-methods = 10
min-public-methods = 2
[EXCEPTIONS]
overgeneral-exceptions = Exception
# vim:set ft=dosini: