-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (38 loc) · 848 Bytes
/
pyproject.toml
File metadata and controls
46 lines (38 loc) · 848 Bytes
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
[dev-dependencies]
black = { version = "^18.3-alpha.0", python = "^3.8" }
[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "uparma/version.txt"
[tool.black]
line-length = 88
target-version = ["py38"]
include = '\.pyi?$'
extend-exclude = '''
/(
# The following are specific to Black, you probably don't want those.
| blib2to3
| profiling
)/
'''
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38,py39
isolated_build = True
[testenv]
passenv =
*
commands =
pytest {posargs}
[testenv:coverage]
commands =
coverage erase
coverage run --source=ursgal {envbindir}/pytest {posargs}
coverage report -m
"""
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]