-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
99 lines (83 loc) · 2.66 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "pyRFC3339"
dynamic = ["version"]
requires-python = ">= 3.9"
authors = [
{name = "Kurt Raschke", email = "[email protected]"}
]
description = "Generate and parse RFC 3339 timestamps"
readme = {file = "README.rst", content-type = "text/x-rst"}
keywords = ["rfc-3339", "timestamp", "iso-8601", "datetime"]
license = {file = "LICENSE.txt"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet"
]
[project.urls]
Homepage = "https://github.com/kurtraschke/pyrfc3339"
Documentation = "https://pyrfc3339.readthedocs.io/"
Repository = "https://github.com/kurtraschke/pyRFC3339.git"
"Bug Tracker" = "https://github.com/kurtraschke/pyRFC3339/issues"
Changelog = "https://github.com/kurtraschke/pyRFC3339/blob/master/CHANGES.rst"
[tool.setuptools]
packages = ["pyrfc3339"]
[tool.setuptools_scm]
[tool.mypy]
strict = true
[tool.flake8]
max-line-length = 132
[tool.isort]
profile = "black"
[tool.coverage.run]
omit = ["pyrfc3339/tests/*"]
[tool.tox]
requires = ["tox>=4"]
env_list = ["sort", "format", "style", "type", "3.9", "3.10", "3.11", "3.12", "3.13"]
skip_missing_interpreters = true
[tool.tox.gh.python]
"3.13" = ["sort", "format", "style", "type", "3.13"]
"3.12" = ["3.12"]
"3.11" = ["3.11"]
"3.10" = ["3.10"]
"3.9" = ["3.9"]
[tool.tox.env_run_base]
deps = ["pytest", "pytest-subtests", "pytest-cov", "tzdata;platform_system==\"Windows\""]
commands = [["pytest",
"--doctest-glob=docs/source/*.rst",
"--doctest-glob=README.rst",
"--doctest-modules",
"--doctest-continue-on-failure",
"--cov=pyrfc3339",
"."]]
[tool.tox.env.type]
skip_install = true
deps = ["mypy"]
commands = [["mypy", "pyrfc3339"]]
[tool.tox.env.sort]
skip_install = true
deps = ["isort"]
commands = [["isort", "--check", "--diff", "pyrfc3339"]]
[tool.tox.env.format]
skip_install = true
deps = ["black"]
commands = [["black", "--check", "--diff", "pyrfc3339"]]
[tool.tox.env.style]
skip_install = true
deps = ["flake8", "flake8-pyproject"]
commands = [["flake8", "pyrfc3339"]]
[tool.tox.env.docs]
deps = ["-r docs/requirements.txt"]
commands = [["sphinx-build", "-M", "html", "docs/source", "docs/build"]]