-
-
Notifications
You must be signed in to change notification settings - Fork 402
/
setup.cfg
32 lines (31 loc) · 1.01 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
[flake8]
max-line-length = 79
application-import-names = sopel
type-checking-exempt-modules = typing
import-order-style = google
ignore =
# Line length limit. Acceptable (for now).
E501,
# Newline before binary operator. Sometimes this is more readable, e.g. in
# long arithmetic expressions.
W503,
# Newline after binary operator. Ignored by default (which we want to keep)
W504,
# These are forbidding certain __future__ imports. The future-import plugin
# has errors both for having and not having them; we want to have these until
# Sopel no longer supports Python versions that require them.
FI58,
# These would require future imports that are not needed any more on Sopel's
# oldest supported Python version (3.8).
FI10,FI11,FI12,FI13,FI14,FI15,FI16,FI17,
# We use postponed annotation evaluation
TC2,
exclude =
docs/*,
env/*,
contrib/*,
conftest.py
no-accept-encodings = True
[mypy]
plugins = sqlalchemy.ext.mypy.plugin
show_error_codes = True