-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (73 loc) · 2.03 KB
/
pyproject.toml
File metadata and controls
83 lines (73 loc) · 2.03 KB
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
[build-system]
requires = ["hatchling>=1.27"]
build-backend = "hatchling.build"
[project]
name = "python-datemath"
dynamic = ["version"]
description = "A Python module that emulates the date math syntax used by Solr and Elasticsearch."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
authors = [
{ name = "Nick MacCarthy", email = "nickmaccarthy@gmail.com" },
]
keywords = ["date", "datemath", "elasticsearch", "solr", "time"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"arrow>=1.3.0",
]
[project.urls]
Homepage = "https://github.com/nickmaccarthy/python-datemath"
Repository = "https://github.com/nickmaccarthy/python-datemath"
Changelog = "https://github.com/nickmaccarthy/python-datemath/blob/master/CHANGELOG.md"
Issues = "https://github.com/nickmaccarthy/python-datemath/issues"
[dependency-groups]
dev = [
"build>=1.2.2",
"freezegun>=1.5.1",
"mypy>=1.18.0",
"pre-commit>=4.5.0",
"pytest>=8.4.0",
"python-semantic-release>=10.5.0",
"ruff>=0.12.0",
"twine>=6.1.0",
]
[tool.hatch.version]
path = "datemath/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["datemath"]
[tool.hatch.build.targets.sdist]
include = [
"/.github",
"/CHANGELOG.md",
"/LICENSE",
"/README.md",
"/datemath",
"/pyproject.toml",
"/tests",
"/verify.py",
]
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["tests"]
[tool.ruff]
target-version = "py310"
line-length = 100
[tool.ruff.lint]
select = ["B", "E", "F", "I", "UP"]
[tool.mypy]
python_version = "3.10"
strict = true
files = ["datemath", "tests"]