@@ -42,3 +42,79 @@ line-length = 88
42
42
[tool .dephell .main ]
43
43
from = {format = " poetry" , path = " pyproject.toml" }
44
44
to = {format = " setuppy" , path = " setup.py" }
45
+
46
+ [tool .pylint .basic ]
47
+ # Bad variable names which should always be refused, separated by a comma.
48
+ bad-names = [" foo" , " bar" , " baz" , " toto" , " tutu" , " tata" ]
49
+
50
+ # Good variable names which should always be accepted, separated by a comma.
51
+ good-names = [" f" , " i" , " j" , " k" , " m" , " n" , " s" , " ex" , " _" , " kv" , " v" ]
52
+
53
+ [tool .pylint .design ]
54
+ # List of regular expressions of class ancestor names to ignore when counting
55
+ # public methods (see R0903)
56
+ # exclude-too-few-public-methods =
57
+
58
+ # List of qualified class names to ignore when counting class parents (see R0901)
59
+ # ignored-parents =
60
+
61
+ # Maximum number of arguments for function / method.
62
+ max-args = 5
63
+
64
+ # Maximum number of attributes for a class (see R0902).
65
+ max-attributes = 7
66
+
67
+ # Maximum number of boolean expressions in an if statement (see R0916).
68
+ max-bool-expr = 5
69
+
70
+ # Maximum number of branch for function / method body.
71
+ max-branches = 12
72
+
73
+ # Maximum number of locals for function / method body.
74
+ max-locals = 15
75
+
76
+ # Maximum number of parents for a class (see R0901).
77
+ max-parents = 7
78
+
79
+ # Maximum number of public methods for a class (see R0904).
80
+ max-public-methods = 20
81
+
82
+ # Maximum number of return / yield for function / method body.
83
+ max-returns = 6
84
+
85
+ # Maximum number of statements in function / method body.
86
+ max-statements = 50
87
+
88
+ # Minimum number of public methods for a class (see R0903).
89
+ min-public-methods = 2
90
+
91
+ [tool .pylint .format ]
92
+ # Maximum number of characters on a single line.
93
+ max-line-length = 100
94
+
95
+ # Maximum number of lines in a module.
96
+ max-module-lines = 1000
97
+
98
+ [tool .pylint ."messages control" ]
99
+ disable = [
100
+ " raw-checker-failed" ,
101
+ " bad-inline-option" ,
102
+ " locally-disabled" ,
103
+ " file-ignored" ,
104
+ " suppressed-message" ,
105
+ " useless-suppression" ,
106
+ " deprecated-pragma" ,
107
+ " use-symbolic-message-instead" ,
108
+ " logging-format-interpolation" ,
109
+ " logging-fstring-interpolation" ,
110
+ ]
111
+
112
+ enable = [" c-extension-no-member" ]
113
+
114
+ [tool .pylint .miscellaneous ]
115
+ # List of note tags to take in consideration, separated by a comma.
116
+ notes = [" FIXME" , " XXX" , " TODO" ]
117
+
118
+ [tool .pylint .refactoring ]
119
+ # Maximum number of nested blocks for function / method body
120
+ max-nested-blocks = 5
0 commit comments