-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
49 lines (43 loc) · 840 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[bumpversion]
current_version = 0.1.0
allow_dirty = True
tag_name = {new_version}
tag = True
commit = True
[bumpversion:file:app/__init__.py]
[flake8]
ignore = E203, E266, W402, W503, F401, F841, D401, D100, D104, D106, B008
max-line-length = 90
max-complexity = 15
select = B,C,E,D,N,F,W
exclude =
.git,
__pycache__,
*.egg-info,
.venv/*,
venv/*,
.env/*,
env/*,
*.egg.info,
tests/*,
migrations/*
docstring-convention = numpy
[mypy]
ignore_missing_imports = True
no_warn_no_return = True
show_error_codes = True
files = app/**/*.py
[isort]
multi_line_output = 3
include_trailing_comma = True
line_length = 90
known_third_party =
[tool:pytest]
addopts =
--ignore build_tools
--capture sys
env =
DATABASE_URL=sqlite:////tmp/pytest.db
APP_ENV=test
[coverage:run]
omit = .venv/*, venv/*, .env/*, env/*, */tests/*, *.egg.info