-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
100 lines (85 loc) · 2 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "vampires_dpp"
description = "VAMPIRES Data Processing Pipeline"
readme = "README.md"
license = {file = "LICENSE"}
authors = [{name = "Miles Lucas", email = "[email protected]"}]
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"annotated_types",
"astropy",
"astroquery",
"astroscrappy",
"bottleneck",
"click",
"hcipy",
"image-registration",
"loguru",
"matplotlib",
"numpy",
"opencv_python",
"pandas",
"photutils",
"pydantic",
"reproject",
"result",
"scikit_image",
"scipy",
"sep",
"synphot",
"tomli_w",
"tomli",
"tqdm",
]
[project.urls]
homepage = "https://github.com/scexao-org/vampires_dpp"
repository = "https://github.com/scexao-org/vampires_dpp"
documentation = "https://scexao-org.github.io/vampires_dpp/"
[project.optional-dependencies]
dev = ["ruff"]
test = [
"pytest",
"pytest_cov",
"pytest_randomly",
]
docs = [
"proplot",
"sphinx",
"myst_nb",
"sphinx_book_theme",
"sphinxcontrib-eval",
"sphinx_autodoc_typehints",
"zenodo_get",
"sphinx_click",
]
[project.scripts]
dpp = "vampires_dpp.cli.main:main"
[tool.setuptools.dynamic]
version = {attr = "vampires_dpp.__version__"}
[tool.pytest.ini_options]
log_cli = false
log_cli_level = "DEBUG"
log_cli_format = "[%(levelname)s] (%(name)-15s) %(message)s"
addopts = "--randomly-seed=4796"
[tool.coverage.run]
source = ["vampires_dpp"]
[tool.ruff.lint]
# pycodestyle, pydocstyle, isort, pyupgrade, pylint, tidyimports, use-pathlib, numpy, errmsg
select = ["E", "F", "B", "SIM", "I", "UP", "TID", "PTH", "NPY", "EM"]
ignore = [
"E501", # line too long
]
[tool.ruff]
line-length = 100
[tool.ruff.format]
skip-magic-trailing-comma = true
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "parents"
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.pydocstyle]
convention = "numpy"