forked from symerio/pgeocode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
48 lines (39 loc) · 907 Bytes
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=42", "wheel"]
[tool.black]
line-length = 79
[tool.mypy]
python_version = "3.8"
show_error_codes = true
warn_unreachable = true
# Strict checks
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_incomplete_defs = true
no_implicit_optional = true
[tool.pycln]
all = true
[tool.isort]
profile = "black"
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = doc,py36,py37,py38,py39,coverage
skipsdist=true
[testenv]
whitelist_externals = poetry
commands =
pip install --editable . pytest pytest-httpserver
pytest {posargs}
[testenv:doc]
commands =
pip install --editable .
pip install --requirement doc/requirements.txt
sphinx-build doc build/sphinx/html
[testenv:coverage]
commands =
pip install --editable . pytest pytest-httpserver coverage
coverage run -m pytest {posargs}
coverage html
"""