forked from amundsen-io/amundsen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
58 lines (46 loc) · 1.42 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
58
[flake8]
format = pylint
exclude = .svc,CVS,.bzr,.hg,.git,__pycache__,venv,.venv
max-complexity = 10
max-line-length = 120
# flake8-tidy-imports rules
banned-modules =
dateutil.parser = Use `ciso8601` instead
flask.ext.restful = Use `flask_restful`
flask.ext.script = Use `flask_script`
flask_restful.reqparse = Use `marshmallow` for request/response validation
haversine = Use `from fast_distance import haversine`
py.test = Use `pytest`
python-s3file = Use `boto`
[pep8]
max-line-length = 79
[tool:pytest]
addopts = --cov=amundsen_common --cov-fail-under=70 --cov-report=term-missing:skip-covered --cov-report=xml --cov-report=html -vvv
[coverage:run]
omit = */models/*
branch = True
[coverage:xml]
output = build/coverage.xml
[coverage:html]
directory = build/coverage_html
[mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
no_implicit_optional = true
[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 <github-actions@github.com>
commit_author = github-actions <github-actions@github.com>
[mypy-marshmallow.*]
ignore_missing_imports = true
[mypy-marshmallow3_annotations.*]
ignore_missing_imports = true
[mypy-setuptools.*]
ignore_missing_imports = true
[mypy-tests.*]
disallow_untyped_defs = false