forked from amundsen-io/amundsen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
57 lines (48 loc) · 1.24 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]
format = pylint
exclude = .svc,CVS,.bzr,.hg,.git,__pycache__,venv,.venv
max-complexity = 10
max-line-length = 120
ignore = I201,F632,W504
[pep8]
max-line-length = 120
# modify --cov-fail-under parameter after adding unit tests
[tool:pytest]
addopts = --cov=search_service --cov-fail-under=0 --cov-report=term-missing:skip-covered --cov-report=xml --cov-report=html -vvv
env =
AWS_REGION=eu-west-1
AWS_ACCESS_KEY_ID=foo
AWS_SECRET_ACCESS_KEY=bar
[coverage:run]
branch = True
[coverage:xml]
output = build/coverage.xml
[coverage:html]
directory = build/coverage_html
[coverage:report]
exclude_lines =
pragma: no cover
from *
import *
[mypy]
python_version = 3.6
disallow_untyped_defs = True
ignore_missing_imports = True
strict_optional = True
warn_no_return = True
[isort]
profile = django
line_length = 120
force_grid_wrap = 3
combine_star = true
combine_as_imports = true
remove_redundant_aliases = true
color_output = true
skip_glob = []
[semantic_release]
version_variable = "./setup.py:__version__"
upload_to_pypi = true
upload_to_release = true
commit_subject = New release for {version}
commit_message = Signed-off-by: github-actions <[email protected]>
commit_author = github-actions <[email protected]>