-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
50 lines (45 loc) · 1.36 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
# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit the
# resulting files.
[versioneer]
VCS = git
style = pep440
versionfile_source = pyform/_version.py
versionfile_build = pyform/_version.py
tag_prefix = v
parentdir_prefix = pyform-
[flake8]
max-line-length = 88
ignore =
E203, # space before : (needed for how black formats slicing)
W503, # line break before binary operator
W504, # line break after binary operator
E402, # module level import not at top of file
E731, # do not assign a lambda expression, use a def
E741, # ambiguous variable name 'l' (GH#34150)
C406, # Unnecessary list literal - rewrite as a dict literal.
C408, # Unnecessary dict call - rewrite as a literal.
C409, # Unnecessary list passed to tuple() - rewrite as a tuple literal.
S001 # found modulo formatter (incorrect picks up mod operations)
exclude =
.eggs/*.py,
versioneer.py,
docs/source/conf.py
[tool:pytest]
minversion = 4.0.2
testpaths = pyform
[coverage:run]
source = pyform
branch = False
omit =
*/tests/*
pyform/_version.py
[coverage:report]
ignore_errors = False
show_missing = True
omit =
pyform/_version.py
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover