-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
108 lines (93 loc) · 2.7 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
[build-system]
requires = ["poetry-core>=1.8.0"]
build-backend = "poetry.core.masonry.api"
# :see: https://greenbone.github.io/autohooks/installation.html
[tool.autohooks]
mode = "poetry"
pre-commit = [
"autohooks.plugins.black",
"autohooks.plugins.ruff",
# "autohooks.plugins.mypy",
"autohooks.plugins.pytest"
]
[tool.mypy]
strict = true
[tool.poetry]
name = "phx-filters"
version = "3.4.0"
description = "Validation and data pipelines made easy!"
authors = ["Phoenix Zerin <[email protected]>"]
license = "MIT"
readme = "README.rst"
documentation = "https://filters.readthedocs.io/"
repository = "https://github.com/todofixthis/filters"
keywords = [
"data processing",
"pipeline",
"transformation",
"validation",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
'Topic :: Text Processing :: Filters',
]
include = [
{ path = "LICENCE.txt", format = "sdist" },
{ path = "docs", format = "sdist" },
{ path = "test", format = "sdist" }
]
exclude = ["docs/_build"]
packages = [{ include = "filters", from = "src" }]
[tool.poetry.dependencies]
# I'm only one person, so to keep from getting overwhelmed, I'm only committing to
# supporting the 3 most recent versions of Python.
python = "^3.11"
phx-class-registry = "^5"
python-dateutil = "^2"
pytz = "^2024"
regex = "^2024"
[tool.poetry.extras]
# Extensions
django = ["phx-filters-django"]
iso = ["phx-filters-iso"]
[tool.poetry.group.dev.dependencies]
autohooks = "^24"
autohooks-plugin-black = "^23"
autohooks-plugin-mypy = "^23"
autohooks-plugin-pytest = "^23"
autohooks-plugin-ruff = "^24"
black = "^24"
mypy = {extras = ["mypyc"], version = "^1"}
pytest = "^8"
sphinx = "^8"
sphinx_rtd_theme = "^3"
tox = "^4"
# Used by GitHub Actions.
[tool.poetry.group.ci.dependencies]
mypy = {extras = ["mypyc"], version = "^1"}
pytest = "^8"
sphinx = "^8"
sphinx_rtd_theme = "^3"
[tool.poetry.urls]
Changelog = "https://github.com/todofixthis/filters/releases"
Issues = "https://github.com/todofixthis/filters/issues"
[tool.pytest.ini_options]
testpaths = ["test"]
[tool.tox]
env_list = ["py313", "py312", "py311"]
[tool.tox.env_run_base]
skip_install = true
allowlist_externals = ["poetry"]
commands_pre = [["poetry", "install", "--with=ci", "--sync"]]
commands = [
["poetry", "run", "pytest"],
# ["poetry", "run", "mypyc", "src", "test"]
]