-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
87 lines (77 loc) · 2.13 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
[project]
# name = "targetdb"
name = "ets_target_database"
# version = "0.1.0"
dynamic = ["version"]
description = "PFS target database (targetDB) tools"
authors = [{ name = "Masato Onodera", email = "[email protected]" }]
dependencies = [
"alembic",
"astropy",
"loguru",
"numpy<2.0",
"openpyxl",
"pandas",
"psycopg2-binary",
"pyarrow",
# "setuptools",
"sqlalchemy-utils",
"sqlalchemy",
"tabulate",
# "wheel",
'tomli >= 1.1.0 ; python_version < "3.11"',
"typer",
]
requires-python = ">=3.9, <4"
readme = "README.md"
license = { text = "MIT" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Database",
"Topic :: Scientific/Engineering :: Astronomy",
]
[project.optional-dependencies]
dev = ["ipython", "pytest", "black", "ruff"]
doc = ["mkdocs", "mkdocs-material[imaging]", "mkdocstrings-python"]
[project.urls]
homepage = "https://github.com/Subaru-PFS/ets_target_database"
source = "https://github.com/Subaru-PFS/ets_target_database"
[project.scripts]
pfs-targetdb-cli = "targetdb.cli.cli_main:app"
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = { "" = "src" }
include-package-data = true
[tool.setuptools.dynamic]
version = { attr = "targetdb.__version__" }
[tool.ruff]
target-version = "py39"
line-length = 88
# line-length = 128
[tool.ruff.lint]
ignore = [
"F401", # module imported but unused
"F841", # local variable is assigned to but never used
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
# select = [
# "E", # pycodestyle errors
# "W", # pycodestyle warnings
# "F", # pyflakes
# "I", # isort
# "B", # flake8-bugbear
# "C4", # flake8-comprehensions
# "UP", # pyupgrade
# ]
[tool.black]
line-length = 88