forked from spotify/flyte-flink-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
38 lines (30 loc) · 844 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
[flake8]
format = pylint
exclude = .svc,CVS,.bzr,.hg,.git,__pycache__,venv
max-complexity = 10
max-line-length = 79
ignore = NONE
# flake8-tidy-imports rules
banned-modules =
dateutil.parser = Use `ciso8601` instead
flask.ext.restful = Use `flask_restful`
flask.ext.script = Use `flask_script`
haversine = Use `from fast_distance import haversine`
py.test = Use `pytest`
python-s3file = Use `boto`
[pep8]
max-line-length = 79
[tool:pytest]
addopts = --cov=flyteidl --cov-fail-under=100 --cov-report=term-missing:skip-covered --cov-report=xml --cov-report=html -vvv
[coverage:run]
branch = True
[coverage:xml]
output = build/coverage.xml
[coverage:html]
directory = build/coverage_html
[mypy]
disallow_untyped_defs = False
ignore_missing_imports = True
strict_optional = True
warn_no_return = True
scripts_are_modules = True