-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.cfg
48 lines (42 loc) · 1.3 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
[flake8]
max-line-length = 120
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
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)
W605 # invalid escape sequence '\d'
exclude = versioneer.py, avionix/_version.py
[isort]
known_first_party = avionix
known_third_party = my_package,pandas,pytest,setuptools,yaml
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
combine_as_imports = True
line_length = 88
force_sort_within_sections = True
[mypy]
ignore_missing_imports=True
no_implicit_optional=True
check_untyped_defs=True
[mypy-avionix._version]
ignore_errors=True
[mypy-versioneer]
ignore_errors=True
[tool:pytest]
testpaths = avionix/tests
log_cli = True
addopts = --cov=avionix
[versioneer]
VCS = git
style = pep440
versionfile_source = avionix/_version.py
versionfile_build = avionix/_version.py
tag_prefix = v
parentdir_prefix = avionix-