-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
128 lines (115 loc) · 2.35 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[build-system]
requires = [
"setuptools>=64",
"setuptools_scm>=8",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
dynamic = ["version"]
name = "pylunar"
authors = [
{name = "Michael Reuter", email = "[email protected]"}
]
description = "Information for completing the Astronomical League's Lunar and Lunar II observing programs."
readme = "README.rst"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"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",
]
dependencies = [
"ephem==4.1.6",
"importlib-resources==6.4.5;python_version<'3.10'",
"typing-extensions==4.12.2;python_version<'3.10'",
"pytz==2024.2"
]
[project.urls]
Documentation = "http://pylunar.readthedocs.io"
Repository = "https://github.com/mareuter/pylunar"
[project.optional-dependencies]
dev = [
"pylunar[build,docs,lint,test]",
"scriv==1.5.1",
"tox==4.23.2"
]
test = [
"coverage[toml]==7.6.9",
"pytest==8.3.4",
]
lint = [
"pre-commit==4.0.1"
]
build = [
"build==1.2.2.post1",
"twine==6.0.1"
]
docs = [
"sphinx~=7.1",
"sphinx_rtd_theme==3.0.2"
]
[tool.setuptools_scm]
[tool.ruff]
exclude = [
"docs/**",
"scripts/startup.py"
]
lint.ignore = [
"D104"
]
line-length = 110
lint.select = [
"B",
"D",
"E",
"F",
"I",
"SIM",
"UP",
"W"
]
[tool.ruff.lint.per-file-ignores]
"src/pylunar/__init__.py" = [
"E402",
"F401",
"F403"
]
"tests/**" = [
"D101",
"D102",
"D103",
]
[tool.ruff.lint.isort]
force-sort-within-sections = true
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.pycodestyle]
max-doc-length = 79
[tool.mypy]
ignore_missing_imports = true
[tool.numpydoc_validation]
checks = [
"all", # report on all checks, except the below
"EX01",
"SA01",
"ES01",
"GL01",
"SS05"
]
exclude = [
"test_*",
"__init__",
"conf",
"startup"
]
[tool.scriv]
entry_title_template = "{{ version }} ({{ date.strftime('%Y-%m-%d') }})"
output_file = "HISTORY.${config:format}"
rst_header_chars = "+^"