-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
128 lines (111 loc) · 3.15 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = ["setuptools>=61.0", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "bead_inspector"
dynamic = ["version"]
authors = [
{name = "Matt Triano", email = "[email protected]"},
{name = "Nick Ross", email = "[email protected]"},
]
maintainers = [
{name = "Matt Triano, Nick Ross"},
]
description = "A tool to help SBOs validate BEAD Challenge Process data files before submission to NTIA."
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
[project.optional-dependencies]
dev = [
"flake8",
"twine",
"tox>=4.0",
"black",
"isort",
"pytest>=6.0",
"pytest-cov",
"ruff",
]
[project.scripts]
bead_inspector = "bead_inspector.main:main"
[project.urls]
Homepage = "https://github.com/uchicago-dsi/uchicago-bead-challenge-validation-tool"
Issues = "https://github.com/uchicago-dsi/uchicago-bead-challenge-validation-tool/issues"
[tool.ruff]
line-length = 88
exclude = [
".git",
".ipynb_checkpoints",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".tox",
".venv",
"__pycache__",
"src/bead_inspector/_version.py",
"*.egg-info",
"build",
"dist",
"htmlcov",
]
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = []
[tool.setuptools]
package-dir = {"" = "src"}
packages = ["bead_inspector"]
[tool.setuptools_scm]
write_to = "src/bead_inspector/_version.py"
version_scheme = "post-release"
local_scheme = "no-local-version"
[tool.pytest.ini_options]
pythonpath = ["src"]
testpaths = ["tests"]
addopts = "--import-mode=importlib --cov=bead_inspector --cov-report=html"
[tool.black]
line-length = 80
target-version = ["py38", "py39", "py310", "py311", "py312"]
[tool.isort]
profile = "black"
[tool.tox]
env_list = [ "py38", "py39", "py310", "py311", "py312"]
isolated_build = true
[tool.tox.envs]
[tool.tox.envs.py38]
description = "run unit tests with Python 3.8"
basepython = "{toxinidir}/dev/.venv38/bin/python"
package = { editable = true }
deps = ["pytest", "pytest-cov"]
setenv = { PYTHONPATH = "{toxinidir}/src" }
commands = ["pytest -vv"]
[tool.tox.envs.py39]
description = "run unit tests with Python 3.9"
basepython = "{toxinidir}/dev/.venv39/bin/python"
package = { editable = true }
deps = ["pytest", "pytest-cov"]
setenv = { PYTHONPATH = "{toxinidir}/src" }
commands = ["pytest -vv"]
[tool.tox.envs.py310]
description = "run unit tests with Python 3.10"
basepython = "{toxinidir}/dev/.venv310/bin/python"
package = { editable = true }
deps = ["pytest", "pytest-cov"]
setenv = { PYTHONPATH = "{toxinidir}/src" }
commands = ["pytest -vv"]
[tool.tox.envs.py311]
description = "run unit tests with Python 3.11"
basepython = "{toxinidir}/dev/.venv311/bin/python"
package = { editable = true }
deps = ["pytest", "pytest-cov"]
setenv = { PYTHONPATH = "{toxinidir}/src" }
commands = ["pytest -vv"]
[tool.tox.envs.py312]
description = "run unit tests with Python 3.12"
basepython = "{toxinidir}/dev/.venv312/bin/python"
package = { editable = true }
deps = ["pytest", "pytest-cov"]
setenv = { PYTHONPATH = "{toxinidir}/src" }
commands = ["pytest -vv"]