@@ -58,61 +58,70 @@ exclude = '''
58
58
[tool .pylint .messages_control ]
59
59
max-line-length = 88
60
60
disable = [
61
- " abstract-class-instantiated " ,
61
+ # intentionally turned off
62
62
" c-extension-no-member" ,
63
+ " comparison-with-itself" ,
63
64
" import-error" ,
65
+ " import-outside-toplevel" ,
66
+ " invalid-name" ,
64
67
" invalid-unary-operand-type" ,
68
+ " line-too-long" ,
69
+ " no-else-continue" ,
70
+ " no-else-raise" ,
71
+ " no-else-return" ,
65
72
" no-member" ,
66
73
" no-name-in-module" ,
67
- " no-value-for-parameter" ,
68
74
" not-an-iterable" ,
75
+ " pointless-statement" ,
69
76
" redundant-keyword-arg" ,
77
+ " singleton-comparison" ,
78
+ " too-many-ancestors" ,
79
+ " too-many-arguments" ,
80
+ " too-many-boolean-expressions" ,
81
+ " too-many-branches" ,
70
82
" too-many-function-args" ,
71
- " undefined-variable" ,
83
+ " too-many-instance-attributes" ,
84
+ " too-many-locals" ,
85
+ " too-many-nested-blocks" ,
86
+ " too-many-public-methods" ,
87
+ " too-many-return-statements" ,
88
+ " too-many-statements" ,
72
89
" unexpected-keyword-arg" ,
73
- " unpacking-non-sequence " ,
90
+ " ungrouped-imports " ,
74
91
" unsubscriptable-object" ,
75
92
" unsupported-assignment-operation" ,
76
93
" unsupported-membership-test" ,
94
+ " unused-import" ,
95
+ " use-implicit-booleaness-not-comparison" ,
96
+ " use-implicit-booleaness-not-len" ,
97
+ " wrong-import-order" ,
98
+ " wrong-import-order" ,
99
+ " wrong-import-position" ,
100
+
101
+ # misc
102
+ " abstract-class-instantiated" ,
103
+ " redundant-keyword-arg" ,
104
+ " no-value-for-parameter" ,
105
+ " undefined-variable" ,
106
+ " unpacking-non-sequence" ,
77
107
78
108
# pylint type "C": convention, for programming standard violation
79
- " import-outside-toplevel" ,
80
- " invalid-name" ,
81
- " line-too-long" ,
82
109
" missing-class-docstring" ,
83
110
" missing-function-docstring" ,
84
111
" missing-module-docstring" ,
85
- " singleton-comparison" ,
86
112
" too-many-lines" ,
87
- " ungrouped-imports" ,
88
113
" unidiomatic-typecheck" ,
89
114
" unnecessary-dunder-call" ,
90
115
" unnecessary-lambda-assignment" ,
91
- " use-implicit-booleaness-not-comparison" ,
92
- " use-implicit-booleaness-not-len" ,
93
- " wrong-import-order" ,
94
- " wrong-import-position" ,
95
116
96
117
# pylint type "R": refactor, for bad code smell
97
- " comparison-with-itself" ,
98
118
" consider-using-ternary" ,
99
119
" consider-using-with" ,
100
120
" cyclic-import" ,
101
121
" duplicate-code" ,
102
122
" inconsistent-return-statements" ,
103
- " no-else-return" ,
104
123
" redefined-argument-from-local" ,
105
124
" too-few-public-methods" ,
106
- " too-many-ancestors" ,
107
- " too-many-arguments" ,
108
- " too-many-boolean-expressions" ,
109
- " too-many-branches" ,
110
- " too-many-instance-attributes" ,
111
- " too-many-locals" ,
112
- " too-many-nested-blocks" ,
113
- " too-many-public-methods" ,
114
- " too-many-return-statements" ,
115
- " too-many-statements" ,
116
125
" unnecessary-list-index-lookup" ,
117
126
118
127
# pylint type "W": warning, for python specific problems
@@ -132,7 +141,6 @@ disable = [
132
141
" invalid-overridden-method" ,
133
142
" keyword-arg-before-vararg" ,
134
143
" overridden-final-method" ,
135
- " pointless-statement" ,
136
144
" pointless-string-statement" ,
137
145
" possibly-unused-variable" ,
138
146
" protected-access" ,
@@ -148,7 +156,6 @@ disable = [
148
156
" unnecessary-lambda" ,
149
157
" unspecified-encoding" ,
150
158
" unused-argument" ,
151
- " unused-import" ,
152
159
" unused-variable" ,
153
160
" using-constant-test" ,
154
161
" useless-parent-delegation"
0 commit comments