-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
113 lines (98 loc) · 2.26 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
[build-system]
requires = ["setuptools", "lsst-versions >= 1.3.0"]
build-backend = "setuptools.build_meta"
[project]
name = "lsst-dax-ppdb"
description = "Prompt Products Database for LSST AP pipeline."
license = {text = "GPLv3+ License"}
readme = "README.md"
authors = [
{name="Rubin Observatory Data Management", email="[email protected]"},
]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Astronomy",
]
keywords = ["lsst"]
dependencies = [
"astropy",
"pyyaml >= 5.1",
"sqlalchemy",
"lsst-felis",
"lsst-utils",
"lsst-resources",
"lsst-dax-apdb",
]
dynamic = ["version"]
[project.urls]
"Homepage" = "https://github.com/lsst/dax_ppdb"
[project.optional-dependencies]
test = [
"pytest >= 3.2",
"pytest-openfiles >= 0.5.0"
]
[tool.setuptools.packages.find]
where = ["python"]
[tool.setuptools]
zip-safe = true
license-files = ["COPYRIGHT", "LICENSE"]
[tool.setuptools.package-data]
"lsst.dax.ppdb" = ["py.typed"]
[tool.setuptools.dynamic]
version = { attr = "lsst_versions.get_lsst_version" }
[project.scripts]
ppdb-replication = "lsst.dax.ppdb.cli.ppdb_replication:main"
ppdb-cli = "lsst.dax.ppdb.cli.ppdb_cli:main"
[tool.black]
line-length = 110
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 110
[tool.lsst_versions]
write_to = "python/lsst/dax/ppdb/version.py"
[tool.ruff]
exclude = [
"__init__.py",
"doc/conf.py",
]
line-length = 110
target-version = "py311"
[tool.ruff.lint]
ignore = [
"N802",
"N803",
"N806",
"N812",
"N815",
"N816",
"N999",
"D107",
"D105",
"D102",
"D104",
"D100",
"D200",
"D205",
"D400",
]
select = [
"E", # pycodestyle
"F", # pycodestyle
"N", # pep8-naming
"W", # pycodestyle
"D", # pydocstyle
]
extend-select = [
"RUF100", # Warn about unused noqa
]
[tool.ruff.lint.pycodestyle]
max-doc-length = 79
[tool.ruff.lint.pydocstyle]
convention = "numpy"