forked from phuston/holidaybear
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
28 lines (25 loc) · 844 Bytes
/
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
[flake8]
ignore =
# Not every element of a small codebase, that isn't published as a package,
# needs a docstring.
# TODO The code could use more docstrings than it has, though.
D100 # missing docstring in public module
D101 # Missing docstring in public class
D102 # Missing docstring in public method
D103 # Missing docstring in public function
# Other warnings, and why they're okay.
B101 # asserts are okay in test code
B311 # this isn't cryptographic code
B322 # inputs are okay in Python 3
B404 # we know what we're doing. And, don't seem able to disable at file level
max-complexity = 15
max-line-length = 120
[coverage:report]
exclude_lines =
if __name__ == '__main__':
omit =
tests/*
[coverage:run]
branch = True
[isort]
# flake8-isort requires this in order to run on Travis