-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (49 loc) · 1.29 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
[build-system]
# For some reason, not including the minimum version bound
# causes pip to not install setuptools at all?
# At least, when giving `setuptools` without a version,
# I get an error that it can't find module `distutils`
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "raimad"
version = "1.2.1"
description = """RAIMAD Astronomical Instrument MAsk Designer"""
authors = [
{name = "maybetree", email = "[email protected]"}
]
license = { file = "LICENSE.md" }
readme = "README.md"
classifiers = [
'Programming Language :: Python :: 3',
]
requires-python = ">=3.10"
dependencies = [
'typing-extensions',
]
# This lets people use `raimad` directly as a shell command
# instead of `python -m raimad`
[project.scripts]
raimad = "raimad.cli:cli"
[tool.ruff.lint]
exclude = [
"tests/*",
"benchmarks/*",
#"docparse.py", # TODO finish docstrings
#"boundpoint.py", # TODO finish docstrings
#"ansec.py", # TODO finish docstrings
#"bbox.py", # TODO finish docstrings
]
select = [
"E",
"F",
"D",
]
ignore = [
"D106",
# Allow no docstring in nested classes
# (e.g. Layers, Options, Marks classes)
"D401", # don't complain about "imperative mood"
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"