-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
73 lines (64 loc) · 1.75 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "parametrize_from_file"
authors = [
{name = "Kale Kundert", email = "[email protected]"},
]
readme = 'README.rst'
dynamic = ["version", "description"]
requires-python = "~=3.8"
dependencies = [
'toml',
'pyyaml',
'nestedtext',
'tidyexc',
'pytest',
'more_itertools>=8.10',
'decopatch',
]
classifiers = [
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: MIT License',
]
[project.optional-dependencies]
test = [
'pytest',
'pytest-cov',
'pytest_tmp_files',
'coveralls',
'numpy',
]
doc = [
'sphinx',
'sphinx_rtd_theme',
'autoclasstoc',
'sphinx-toolbox',
]
[project.urls]
'Documentation' = 'https://parametrize-from-file.readthedocs.io/en/latest/'
'Version Control' = 'https://github.com/kalekundert/parametrize_from_file'
'Bug Tracker' = 'https://github.com/kalekundert/parametrize_from_file/issues'
'Continuous Integration' = 'https://github.com/kalekundert/parametrize_from_file/actions'
'Test Coverage' = 'https://coveralls.io/github/kalekundert/parametrize_from_file'
[tool.ruff]
target-version = "py37"
[tool.ruff.lint]
select = ["F", "E"]
ignore = ["F405", "F403", "E401", "E501", "E721"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "E402"]
"docs/**" = ["E701", "E722"]
[tool.pytest.ini_options]
addopts = "--ignore docs --doctest-modules --doctest-glob='*.rst'"
doctest_optionflags = 'NORMALIZE_WHITESPACE'
markers = ["slow"]
filterwarnings = [
"error",
'ignore:datetime\.datetime\..* is deprecated:DeprecationWarning',
]
[tool.semantic_release]
version_variables = ['parametrize_from_file/__init__.py:__version__']
build_command = 'python -m pip install build && python -m build'
major_on_zero = false