-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
68 lines (56 loc) · 1.52 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
### BUILD CONFIG ###
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.2,<4"]
[project]
authors = [{name = "Ben Soyka", email = "bensoyka@icloud.com"}]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dynamic = ["version", "description"]
license = {file = "LICENSE"}
name = "averager"
readme = "README.md"
requires-python = "~=3.6"
[project.urls]
Changelog = "https://github.com/bsoyka/averager/releases"
Documentation = "https://averager.readthedocs.io"
Source = "https://github.com/bsoyka/averager"
### TOOLS ###
[tool.black]
line-length = 79
[tool.coverage.run]
source = ["averager"]
[tool.coverage.report]
omit = ["tests/*"]
[tool.isort]
line_length = 79
profile = "black"
[tool.poe.tasks]
_black = "black ."
_isort = "isort ."
coverage = "coverage run -m pytest"
format = ["_black", "_isort"]
install = "flit install"
test = "tox"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py36,py37,py38,py39,py310
isolated_build = True
[testenv]
deps = pytest
commands = pytest
"""