forked from autogluon/autogluon-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
88 lines (74 loc) · 1.34 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[pycodestyle]
max_line_length = 160
[flake8]
max-line-length = 160
per-file-ignores =
*/__init__.py: F401
[mypy]
warn_unused_configs = True
show_error_context = True
pretty = True
check_untyped_defs = True
[tool:pytest]
testpaths = tests
addopts = --strict-markers
xfail_strict = True
[coverage:run]
source = autogluon.cloud
branch = True
[coverage:report]
show_missing = True
skip_covered = True
fail_under = 80
[coverage:paths]
source =
src/autogluon/cloud
*/site-packages/autogluon/cloud
[tox:tox]
envlist =
; py37 - Not supported in the container
py38
; py39 - Not supported in the container
isolated_build = True
[pkg-imports]
deps =
../common
.[tests]
[testenv]
usedevelop=True
deps =
pytest
flake8
pytest-cov
{[pkg-imports]deps}
commands =
pytest {posargs}
[testenv:typecheck]
basepython = python3.8
deps =
pytest
pytest-mypy
types-requests
types-setuptools
{[pkg-imports]deps}
commands =
mypy --ignore-missing-imports {posargs:src}
[testenv:format]
skip_install = True
deps =
black
commands =
black {posargs:--check --diff --color src tests}
[testenv:lint]
skip_install = True
deps =
flake8
flake8-bugbear
commands =
flake8 {posargs:src tests}
[testenv:isort]
skip_install = True
deps =
isort
commands =
isort --check --diff {posargs:src tests}