forked from vacanza/holidays
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (73 loc) · 2.39 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
[project]
name = "holidays"
description = "Generate and work with holidays in Python"
license = { file = "LICENSE" }
readme = "README.rst"
requires-python = ">=3.8"
dynamic = ["version"]
authors = [{ email = "[email protected]", name = "Maurizio Montel" }]
dependencies = ["python-dateutil"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Office/Business :: Scheduling",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Localization",
]
keywords = ["holidays", "calendar", "l10n"]
maintainers = [
{ email = "[email protected]", name = "Arkadii Yakovets" },
{ email = "[email protected]", name = "Serhii Murza" },
]
[project.urls]
Repository = "https://github.com/vacanza/python-holidays/"
Documentation = "https://python-holidays.readthedocs.io/en/latest/"
Changelog = "https://github.com/vacanza/python-holidays/releases"
Downloads = "https://pypi.org/project/holidays/"
[tool.coverage.run]
branch = true
omit = ["scripts/*", "setup.py", "tests/*"]
[tool.isort]
known_first_party = ["holidays", "tests"]
line_length = 99
multi_line_output = 3
no_inline_sort = true
profile = "black"
skip = ["docs"]
[tool.mypy]
strict = false
[tool.ruff]
extend-exclude = ["docs"]
line-length = 99
target-version = "py311"
[tool.ruff.lint]
select = ["E4", "E5", "E7", "E9", "F", "N", "T", "W"]
[tool.ruff.lint.extend-per-file-ignores]
"scripts/generate_release_notes.py" = ["T201"]
[tool.ruff.lint.flake8-errmsg]
max-string-length = 99
[[tool.mypy.overrides]]
module = "holidays.countries.*"
disable_error_code = ["override"]
[[tool.mypy.overrides]]
module = "holidays.groups.*"
disable_error_code = "attr-defined"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning:holidays",
"ignore::DeprecationWarning:xdist",
]
[tool.rstcheck]
ignore_directives = ["automodule", "autosummary"]
ignore_languages = ["python"]
[tool.setuptools.dynamic]
version = { attr = "holidays.__version__" }
[tool.setuptools.packages.find]
include = ["holidays*"]