forked from speced/bikeshed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
74 lines (73 loc) · 2.75 KB
/
setup.cfg
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
71
72
73
74
[flake8]
ignore =
E203, # just fires a bunch on list ranges
E227, # misfires on some type annotations, don't care otherwise
E265, # don't care
E501, # line lengths are a fake idea
E722, # bare accept is fine
E741, # don't care
E743, # don't care
F401, # handling unused imports elsewhere
F405, # ditto
F811, # flake8 doesn't understand typing overloads
F821, # caught by pylint and I'm not silencing two things
W503, # this 'error' is completely backward and will change eventually
N802,
N803,
N806,
N812,
N815,
N816,
max-line-length=300
per-file-ignores =
bikeshed/lint/__init__.py:F401
bikeshed/h/__init__.py:F401
bikeshed/markdown/__init__.py:F401
bikeshed/shorthands/__init__.py:F401
bikeshed/refs/__init__.py:F401
bikeshed/update/__init__.py:F401
bikeshed/wpt/__init__.py:F401
bikeshed/__init__.py:F401
bikeshed/config/__init__.py:F401
bikeshed/stringEnum/__init__.py:F401
[pylint.MESSAGES CONTROL]
disable=
arguments-differ,
broad-except,
c-extension-no-member, # seems to be weird false pos
consider-iterating-dictionary, # lol no
consider-using-f-string, # don't care
duplicate-code, # dont' care
eval-used, # needed
exec-used, # needed
fixme,
global-statement, # needed
import-outside-toplevel, # needed
inconsistent-return-statements, # don't care
invalid-name, # SUPER don't care
keyword-arg-before-vararg, # literally nonsensical
line-too-long, # black takes care of my line lengths
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
no-else-break, # i prefer this actually
no-else-continue, # ditto
no-else-raise, # ditto
no-else-return, # ditto
pointless-string-statement, # fine as alt comment syntax
redefined-builtin,
superfluous-parens, # don't care
too-few-public-methods, # dumb
too-many-arguments, # dumb
too-many-boolean-expressions, # needed
too-many-branches, # needed
too-many-instance-attributes, # dumb
too-many-lines,
too-many-locals, # dumb
too-many-nested-blocks,
too-many-return-statements,
too-many-statements,
unsubscriptable-object, # false positives
unsupported-binary-operation, # false pos on type sigs, plus mypy catches anyway
use-dict-literal, # don't care
useless-return, # need it for mypy