-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
45 lines (44 loc) · 1.61 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
# SPDX-FileCopyrightText: 2021 Jeff Epler
#
# SPDX-License-Identifier: GPL-3.0-only
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[toml]>=6.0",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["leapseconddata"]
[tool.setuptools.dynamic]
readme = {file = ["README.md"], content-type="text/markdown"}
[tool.setuptools_scm]
write_to = "leapseconddata/__version__.py"
[tool.ruff]
line-length=120
[tool.ruff.lint]
select = ["E", "F", "D", "I", "N", "UP", "YTT", "BLE", "B", "FBT", "A", "COM", "C4", "DTZ", "FA", "ISC", "ICN", "PIE", "PYI", "Q", "RET", "SIM", "TID", "TCH", "ARG", "PTH", "C", "R", "W", "FLY", "RUF", "PL"]
ignore = ["D203", "D213", "D400", "D415", "ISC001", "COM812"]
exclude = ["docs/**/*.py"]
[project]
name = "leapseconddata"
authors = [{name = "Jeff Epler", email = "jepler@gmail.com"}]
description = "Use the list of known and scheduled leap seconds"
dynamic = ["readme","version"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
]
requires-python = ">=3.9"
dependencies = ["click"]
[project.urls]
Source = "https://github.com/jepler/leapseconddata"
Documentation = "https://leapseconddata.readthedocs.io/en/latest/"
[project.scripts]
leapsecond = "leapseconddata.__main__:cli"