Skip to content

Commit 4e14b33

Browse files
linter configuration cleanup
1 parent 46432a5 commit 4e14b33

File tree

1 file changed

+7
-372
lines changed

1 file changed

+7
-372
lines changed

setup.cfg

Lines changed: 7 additions & 372 deletions
Original file line numberDiff line numberDiff line change
@@ -81,376 +81,11 @@ ignore = E226, E302, E303, E305, E402, ANN101
8181

8282
[pylint.message]
8383
# module-naming-style=PascalCase
84+
max-line-length = 120
8485
disable =
85-
apply-builtin, #W1601
86-
backtick, #E1605
87-
bad-inline-option, #I0010
88-
bad-python3-import, #W1648
89-
basestring-builtin, #W1602
90-
buffer-builtin, #W1603
91-
cmp-builtin, #W1604
92-
cmp-method, #W1630
93-
coerce-builtin, #W1605
94-
coerce-method, #W1614
95-
comprehension-escape, #W1662
96-
delslice-method, #W1615
97-
deprecated-itertools-function, #W1651
98-
deprecated-operator-function, #W1657
99-
deprecated-pragma, #I0022
100-
deprecated-str-translate-call, #W1650
101-
deprecated-string-function, #W1649
102-
deprecated-sys-function, #W1660
103-
deprecated-types-field, #W1652
104-
deprecated-urllib-function, #W1658
105-
dict-items-not-iterating, #W1654
106-
dict-iter-method, #W1620
107-
dict-keys-not-iterating, #W1655
108-
dict-values-not-iterating, #W1656
109-
dict-view-method, #W1621
110-
div-method, #W1642
111-
eq-without-hash, #W1641
112-
exception-escape, #W1661
113-
exception-message-attribute, #W1645
114-
execfile-builtin, #W1606
115-
file-builtin, #W1607
116-
file-ignored, #I0013
117-
filter-builtin-not-iterating, #W1639
118-
fixme, #W0511 spam...
119-
getslice-method, #W1616
120-
hex-method, #W1628
121-
idiv-method, #W1643
122-
import-star-module-level, #E1609
123-
indexing-exception, #W1624
124-
input-builtin, #W1632
125-
intern-builtin, #W1634
126-
invalid-name, #C0103 for module name not conforming to snake_case
127-
invalid-str-codec, #W1646
128-
locally-disabled, #I0011
129-
long-builtin, #W1608
130-
long-suffix, #E1606
131-
map-builtin-not-iterating, #W1636
132-
metaclass-assignment, #W1623
133-
missing-class-docstring, #C0115 spam ...
134-
missing-function-docstring, #C0116
135-
missing-module-docstring, #C0114
136-
next-method-called, #W1622
137-
next-method-defined, #W1653
138-
no-absolute-import, #W1618
139-
no-else-return, #R1705 sometimes it is more readable...
140-
non-ascii-bytes-literal, #E1610
141-
nonzero-method, #W1629
142-
oct-method, #W1627
143-
old-division, #W1619
144-
old-ne-operator, #E1607
145-
old-octal-literal, #E1608
146-
old-raise-syntax, #E1604
147-
parameter-unpacking, #E1602
148-
print-statement, #E1601
149-
raising-string, #W1625
150-
range-builtin-not-iterating, #W1638
151-
raw-checker-failed, #I0001
152-
raw_input-builtin, #W1609
153-
rdiv-method, #W1644
154-
reduce-builtin, #W1610
155-
reload-builtin, #W1626
156-
round-builtin, #W1633
157-
setslice-method, #W1617
158-
standarderror-builtin, #W1611
159-
suppressed-message, #I0020
160-
sys-max-int, #W1647
161-
too-few-format-args, #E1306
162-
too-few-public-methods, #R0903
163-
too-many-arguments, #R0913
164-
too-many-boolean-expressions, #R0916
165-
too-many-branches, #R0912
166-
too-many-format-args, #E1305
167-
too-many-function-args, #E1121
168-
too-many-instance-attributes, #R0902
169-
too-many-lines, #C0302
170-
too-many-locals, #R0914
171-
too-many-nested-blocks, #R1702
172-
too-many-public-methods, #R0904
173-
too-many-return-statements, #R0911
174-
too-many-star-expressions, #E0112
175-
too-many-statements, #R0915
176-
unichr-builtin, #W1635
177-
unicode-builtin, #W1612
178-
unpacking-in-except, #E1603
179-
use-symbolic-message-instead, #I0023
180-
useless-suppression, #I0021
181-
using-cmp-argument, #W1640
182-
xrange-builtin, #W1613
183-
xreadlines-attribute, #W1659
184-
zip-builtin-not-iterating, #W1637
185-
186-
# Enabled messages:
187-
# abstract-class-instantiated, #E0110
188-
# abstract-method, #W0223
189-
# access-member-before-definition, #E0203
190-
# anomalous-backslash-in-string, #W1401
191-
# anomalous-unicode-escape-in-string, #W1402
192-
# arguments-differ, #W0221
193-
# arguments-out-of-order, #W1114
194-
# assert-on-string-literal, #W0129
195-
# assert-on-tuple, #W0199
196-
# assign-to-new-keyword, #W0111
197-
# assigning-non-slot, #E0237
198-
# assignment-from-no-return, #E1111
199-
# assignment-from-none, #E1128
200-
# astroid-error, #F0002
201-
# attribute-defined-outside-init, #W0201
202-
# bad-classmethod-argument, #C0202
203-
# bad-except-order, #E0701
204-
# bad-exception-context, #E0703
205-
# bad-format-character, #E1300
206-
# bad-format-string, #W1302
207-
# bad-format-string-key, #W1300
208-
# bad-indentation, #W0311
209-
# bad-mcs-classmethod-argument, #C0204
210-
# bad-mcs-method-argument, #C0203
211-
# bad-open-mode, #W1501
212-
# bad-option-value, #E0012
213-
# bad-reversed-sequence, #E0111
214-
# bad-staticmethod-argument, #W0211
215-
# bad-str-strip-call, #E1310
216-
# bad-string-format-type, #E1307
217-
# bad-super-call, #E1003
218-
# bad-thread-instantiation, #W1506
219-
# bare-except, #W0702
220-
# binary-op-exception, #W0711
221-
# boolean-datetime, #W1502
222-
# broad-except, #W0703
223-
# c-extension-no-member, #I1101
224-
# catching-non-exception, #E0712
225-
# cell-var-from-loop, #W0640
226-
# chained-comparison, #R1716
227-
# class-variable-slots-conflict, #E0242
228-
# comparison-with-callable, #W0143
229-
# comparison-with-itself, #R0124
230-
# condition-evals-to-constant, #R1727
231-
# confusing-with-statement, #W0124
232-
# consider-iterating-dictionary, #C0201
233-
# consider-merging-isinstance, #R1701
234-
# consider-swap-variables, #R1712
235-
# consider-using-dict-comprehension, #R1717
236-
# consider-using-enumerate, #C0200
237-
# consider-using-generator, #R1728
238-
# consider-using-get, #R1715
239-
# consider-using-in, #R1714
240-
# consider-using-join, #R1713
241-
# consider-using-max-builtin, #R1731
242-
# consider-using-min-builtin, #R1730
243-
# consider-using-set-comprehension, #R1718
244-
# consider-using-sys-exit, #R1722
245-
# consider-using-ternary, #R1706
246-
# consider-using-with, #R1732
247-
# continue-in-finally, #E0116
248-
# cyclic-import, #R0401
249-
# dangerous-default-value, #W0102
250-
# deprecated-argument, #W1511
251-
# deprecated-method, #W1505
252-
# deprecated-module, #W0402
253-
# dict-iter-missing-items, #E1141
254-
# disallowed-name, #C0104
255-
# duplicate-argument-name, #E0108
256-
# duplicate-bases, #E0241
257-
# duplicate-code, #R0801
258-
# duplicate-except, #W0705
259-
# duplicate-key, #W0109
260-
# duplicate-string-formatting-argument, #W1308
261-
# empty-docstring, #C0112
262-
# eval-used, #W0123
263-
# exec-used, #W0122
264-
# expression-not-assigned, #W0106
265-
# f-string-without-interpolation, #W1309
266-
# fatal, #F0001
267-
# format-combined-specification, #W1305
268-
# format-needs-mapping, #E1303
269-
# function-redefined, #E0102
270-
# global-at-module-level, #W0604
271-
# global-statement, #W0603
272-
# global-variable-not-assigned, #W0602
273-
# global-variable-undefined, #W0601
274-
# implicit-str-concat, #W1404
275-
# import-error, #E0401
276-
# import-outside-toplevel, #C0415
277-
# import-self, #W0406
278-
# inconsistent-mro, #E0240
279-
# inconsistent-quotes, #W1405
280-
# inconsistent-return-statements, #R1710
281-
# inherit-non-class, #E0239
282-
# init-is-generator, #E0100
283-
# invalid-all-object, #E0604
284-
# invalid-bool-returned, #E0304
285-
# invalid-bytes-returned, #E0308
286-
# invalid-characters-in-docstring, #C0403
287-
# invalid-envvar-default, #W1508
288-
# invalid-envvar-value, #E1507
289-
# invalid-format-index, #W1307
290-
# invalid-format-returned, #E0311
291-
# invalid-getnewargs-ex-returned, #E0313
292-
# invalid-getnewargs-returned, #E0312
293-
# invalid-hash-returned, #E0309
294-
# invalid-index-returned, #E0305
295-
# invalid-length-hint-returned, #E0310
296-
# invalid-length-returned, #E0303
297-
# invalid-metaclass, #E1139
298-
# invalid-overridden-method, #W0236
299-
# invalid-repr-returned, #E0306
300-
# invalid-sequence-index, #E1126
301-
# invalid-slice-index, #E1127
302-
# invalid-slots, #E0238
303-
# invalid-slots-object, #E0236
304-
# invalid-star-assignment-target, #E0113
305-
# invalid-str-returned, #E0307
306-
# invalid-unary-operand-type, #E1130
307-
# isinstance-second-argument-not-valid-type, #W1116
308-
# keyword-arg-before-vararg, #W1113
309-
# len-as-condition, #C1801
310-
# line-too-long, #C0301
311-
# literal-comparison, #R0123
312-
# logging-format-interpolation, #W1202
313-
# logging-format-truncated, #E1201
314-
# logging-fstring-interpolation, #W1203
315-
# logging-not-lazy, #W1201
316-
# logging-too-few-args, #E1206
317-
# logging-too-many-args, #E1205
318-
# logging-unsupported-format, #E1200
319-
# lost-exception, #W0150
320-
# method-check-failed, #F0202
321-
# method-hidden, #E0202
322-
# misplaced-bare-raise, #E0704
323-
# misplaced-comparison-constant, #C0122
324-
# misplaced-format-function, #E0119
325-
# misplaced-future, #W0410
326-
# missing-final-newline, #C0304
327-
# missing-format-argument-key, #W1303
328-
# missing-format-attribute, #W1306
329-
# missing-format-string-key, #E1304
330-
# missing-kwoa, #E1125
331-
# missing-parentheses-for-call-in-test, #W0126
332-
# mixed-format-string, #E1302
333-
# mixed-line-endings, #C0327
334-
# multiple-imports, #C0410
335-
# multiple-statements, #C0321
336-
# nan-comparison, #W0177
337-
# no-classmethod-decorator, #R0202
338-
# no-else-break, #R1723
339-
# no-else-continue, #R1724
340-
# no-else-raise, #R1720
341-
# no-init, #W0232
342-
# no-member, #E1101
343-
# no-method-argument, #E0211
344-
# no-name-in-module, #E0611
345-
# no-self-argument, #E0213
346-
# no-self-use, #R0201
347-
# no-staticmethod-decorator, #R0203
348-
# no-value-for-parameter, #E1120
349-
# non-ascii-name, #C0144
350-
# non-iterator-returned, #E0301
351-
# non-parent-init-called, #W0233
352-
# non-str-assignment-to-dunder-name, #W1115
353-
# nonexistent-operator, #E0107
354-
# nonlocal-and-global, #E0115
355-
# nonlocal-without-binding, #E0117
356-
# not-a-mapping, #E1134
357-
# not-an-iterable, #E1133
358-
# not-async-context-manager, #E1701
359-
# not-callable, #E1102
360-
# not-context-manager, #E1129
361-
# not-in-loop, #E0103
362-
# notimplemented-raised, #E0711
363-
# parse-error, #F0010
364-
# pointless-statement, #W0104
365-
# pointless-string-statement, #W0105
366-
# possibly-unused-variable, #W0641
367-
# preferred-module, #W0407
368-
# property-with-parameters, #R0206
369-
# protected-access, #W0212
370-
# raise-missing-from, #W0707
371-
# raising-bad-type, #E0702
372-
# raising-format-tuple, #W0715
373-
# raising-non-exception, #E0710
374-
# redeclared-assigned-name, #W0128
375-
# redefine-in-handler, #W0623
376-
# redefined-argument-from-local, #R1704
377-
# redefined-builtin, #W0622
378-
# redefined-outer-name, #W0621
379-
# redundant-keyword-arg, #E1124
380-
# redundant-unittest-assert, #W1503
381-
# reimported, #W0404
382-
# relative-beyond-top-level, #E0402
383-
# repeated-keyword, #E1132
384-
# return-arg-in-generator, #E0106
385-
# return-in-init, #E0101
386-
# return-outside-function, #E0104
387-
# self-assigning-variable, #W0127
388-
# self-cls-assignment, #W0642
389-
# shallow-copy-environ, #W1507
390-
# signature-differs, #W0222
391-
# simplifiable-condition, #R1726
392-
# simplifiable-if-expression, #R1719
393-
# simplifiable-if-statement, #R1703
394-
# simplify-boolean-expression, #R1709
395-
# single-string-used-for-slots, #C0205
396-
# singleton-comparison, #C0121
397-
# star-needs-assignment-target, #E0114
398-
# stop-iteration-return, #R1708
399-
# subprocess-popen-preexec-fn, #W1509
400-
# subprocess-run-check, #W1510
401-
# super-init-not-called, #W0231
402-
# super-with-arguments, #R1725
403-
# superfluous-parens, #C0325
404-
# syntax-error, #E0001
405-
# too-many-ancestors, #R0901
406-
# trailing-comma-tuple, #R1707
407-
# trailing-newlines, #C0305
408-
# trailing-whitespace, #C0303
409-
# truncated-format-string, #E1301
410-
# try-except-raise, #W0706
411-
# unbalanced-tuple-unpacking, #W0632
412-
# undefined-all-variable, #E0603
413-
# undefined-loop-variable, #W0631
414-
# undefined-variable, #E0602
415-
# unexpected-keyword-arg, #E1123
416-
# unexpected-line-ending-format, #C0328
417-
# unexpected-special-method-signature, #E0302
418-
# ungrouped-imports, #C0412
419-
# unhashable-dict-key, #E1140
420-
# unidiomatic-typecheck, #C0123
421-
# unnecessary-comprehension, #R1721
422-
# unnecessary-lambda, #W0108
423-
# unnecessary-pass, #W0107
424-
# unnecessary-semicolon, #W0301
425-
# unneeded-not, #C0113
426-
# unpacking-non-sequence, #E0633
427-
# unreachable, #W0101
428-
# unrecognized-inline-option, #E0011
429-
# unsubscriptable-object, #E1136
430-
# unsupported-assignment-operation, #E1137
431-
# unsupported-binary-operation, #E1131
432-
# unsupported-delete-operation, #E1138
433-
# unsupported-membership-test, #E1135
434-
# unused-argument, #W0613
435-
# unused-format-string-argument, #W1304
436-
# unused-format-string-key, #W1301
437-
# unused-import, #W0611
438-
# unused-variable, #W0612
439-
# unused-wildcard-import, #W0614
440-
# use-a-generator, #R1729
441-
# used-before-assignment, #E0601
442-
# used-prior-global-declaration, #E0118
443-
# useless-else-on-loop, #W0120
444-
# useless-import-alias, #C0414
445-
# useless-object-inheritance, #R0205
446-
# useless-return, #R1711
447-
# useless-super-delegation, #W0235
448-
# using-constant-test, #W0125
449-
# wildcard-import, #W0401
450-
# wrong-exception-operation, #W0716
451-
# wrong-import-order, #C0411
452-
# wrong-import-position, #C0413
453-
# wrong-spelling-in-comment, #C0401
454-
# wrong-spelling-in-docstring, #C0402
455-
# yield-inside-async-function, #E1700
456-
# yield-outside-function, #E0105
86+
missing-class-docstring,
87+
missing-function-docstring,
88+
missing-module-docstring,
89+
wrong-import-position,
90+
wrong-import-order,
91+
invalid-name

0 commit comments

Comments
 (0)