-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.cfg
57 lines (51 loc) · 1.2 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
[flake8]
# References:
# https://flake8.readthedocs.io/en/latest/user/configuration.html
# https://flake8.readthedocs.io/en/latest/user/error-codes.html
# Note: there cannot be spaces after comma's here
exclude =
__init__.py,
origami/tests
ignore =
# Extra space in brackets
E20,
# Multiple spaces around ","
E231,E241,
# Comments
E26,
# Import formatting
E4,
# Comparing types instead of isinstance
E721,
# Assigning lambda expression
E731,
# Do not use variables named ‘l’, ‘O’, or ‘I’
E741,
# Long descriptions can trigger this one erroneously
D205,
# First line period ends can be ignored
D400,
# Prose of docstrings doesn't need to be this strict
D401,
# line breaks before binary operators
W503
max-line-length = 120
max-complexity = 23
[bdist_wheel]
universal=0
[coverage:run]
branch = False
omit =
origami/tests/*
origami/version.py
[coverage:report]
exclude_lines =
if self\.debug:
pragma: no cover
raise AssertionError
raise NotImplementedError
if __name__ == .__main__.:
ignore_errors = True
omit = origami/tests/*,origami/version.py
[tool:pytest]
filterwarnings = always