forked from ariebovenberg/whenever
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
85 lines (76 loc) · 1.89 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
[tool.poetry]
name = "whenever"
version = "0.5.1"
description = "Sensible and typesafe datetimes"
authors = ["Arie Bovenberg <[email protected]>"]
license = "MIT"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
packages = [
{ include = "whenever", from = "src" },
]
documentation = "https://whenever.readthedocs.io"
readme = "README.rst"
repository = "https://github.com/ariebovenberg/whenever"
keywords = ["datetime"]
[tool.poetry.dependencies]
python = ">=3.8.1"
backports-zoneinfo = {version = "^0.2.1", python = "<3.9"}
tzdata = {version = ">=2020.1", markers = 'sys_platform == "win32"'}
[tool.poetry.group.test.dependencies]
pytest = ">=7.0.1,<9.0.0"
pytest-cov = ">=4,<6"
pytest-benchmark = "^4.0.0"
pytest-mypy-plugins = "^3.0.0"
hypothesis = "^6.68.2"
freezegun = "^1.3.1"
[tool.poetry.group.typecheck.dependencies]
mypy = "^1.0.0"
pytest-mypy-plugins = "^3.0.0"
[tool.poetry.group.linting.dependencies]
black = "^24"
flake8 = ">=6,<8"
isort = "^5.7.0"
slotscheck = ">=0.17.2,<0.20.0"
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.hg
| \.git
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
)/
'''
[tool.isort]
profile = 'black'
line_length = 79
combine_as_imports = true
[tool.mypy]
warn_unused_ignores = true
strict = true
[[tool.mypy.overrides]]
module = [
"tests.*",
]
check_untyped_defs = true
disable_error_code = ["no-untyped-def"]
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"