-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
63 lines (54 loc) · 1.45 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
[project]
name = "pyin"
version = "1.0dev"
authors = [
{name="Kevin Wurster", email="wursterk@gmail.com"}
]
description = "Like sed, but Python!"
classifiers = [
"Development Status :: 7 - Inactive",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Topic :: Text Processing :: Filters",
"Topic :: Text Processing :: General",
"Topic :: Utilities",
]
license = {text = "BSD-3-Clause"}
requires-python = ">=3.8"
readme = "README.rst"
[project.optional-dependencies]
test = ["pytest>=6.0", "pytest-cov"]
[project.scripts]
pyin = "pyin:_cli_entrypoint"
[project.urls]
"Homepage" = "https://github.com/geowurster/pyin"
[build-system]
requires = ["setuptools"]
[tool.pytest.ini_options]
# Include only flags for test discovery. The command used by Tox includes
# additional flags that are more appropriate for something like a CI system.
minversion = "6.0"
addopts = "--doctest-modules"
testpaths = ["docs.rst", "tests/"]
filterwarnings = [
"error"
]
[tool.setuptools]
py-modules = ["pyin"]
license-files = ["LICENSE.txt"]
[tool.tox]
# Include pytest flags that look for additional things, like code coverage.
legacy_tox_ini = """
[tox]
min_version = 4.0
env_list = py{38,39,310,311,312,313}
[testenv]
deps =
.[test]
commands =
pytest \
--cov pyin \
--cov-report term-missing \
--cov-fail-under 100
"""