forked from typeddjango/djangorestframework-stubs
-
Notifications
You must be signed in to change notification settings - Fork 9
/
tox.ini
46 lines (46 loc) · 888 Bytes
/
tox.ini
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
[pytest]
addopts = --pdbcls IPython.terminal.debugger:TerminalPdb
filterwarnings =
; all warnings that are not ignored should raise an error
error
; pytest wants to remove the `message` kwarg to pytest.raises, but there isn't
; an alternative at the moment.
; https://github.com/pytest-dev/pytest/issues/3974
ignore::pytest.PytestDeprecationWarning
[flake8]
ignore =
; formatting handled by black
; https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
; https://github.com/ambv/black/issues/429
E101,
E111,
E114,
E115,
E116,
E117,
E121,
E122,
E123,
E124,
E125,
E126,
E127,
E128,
E129,
E131,
E133,
E2,
E3,
E5,
E701,
E702,
E703,
E704,
F401,
W1,
W2,
W3,
W503,
W504,
; wrong in type stubs '__all__ = []' for some reason
F822