-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (64 loc) · 1.35 KB
/
pyproject.toml
File metadata and controls
72 lines (64 loc) · 1.35 KB
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
[project]
name = "hyperleda-scripts"
version = "0.1.0"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"astroquery>=0.4.9.post1",
"build>=1.2.2.post1",
"click>=8.1.8",
"hyperleda",
"numpy>=2.2.2",
"pandas>=2.2.3",
"psycopg>=3.2.5",
"structlog>=25.1.0",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project.scripts]
hyperleda-scripts = "hyperleda_scripts.cli:cli"
[tool.uv.sources]
hyperleda = { git = "https://github.com/HyperLEDA/client.git" }
hyperleda-scripts = { workspace = true }
[tool.ruff]
line-length = 120
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = 60
[tool.ruff.lint]
ignore = [
"N818", # ignore SomeException -> SomeError rule
"B024", # abstract class without abstract methods
"B017", # ignore assertRaises(Exception)
"B027", # empty method without abstract decorator
]
# see https://docs.astral.sh/ruff/rules/ for description of each rule set.
select = [
"E",
"F",
"I",
"N",
"UP",
"YTT",
"B",
"A",
"C4",
"DTZ",
"PIE",
"RET",
"SLF",
"PTH",
"PLE",
"FLY",
"NPY201",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"F403", # ignore star imports warning in __init__ files
]
[dependency-groups]
dev = [
"hyperleda-scripts",
"ruff>=0.9.4",
]