-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
102 lines (90 loc) · 2.49 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
[tool.poetry]
name = "sdss-lvmieb"
version = "0.5.4a0"
description = "Control software for the Local Volume Mapper Instrument Electronics Box"
authors = ["Changgon Kim <changgonkim@khu.ac.kr>"]
maintainers = ["José Sánchez-Gallego <gallegoj@uw.edu>"]
license = "BSD-3-Clause"
readme = "README.md"
homepage = "https://github.com/sdss/lvmieb"
repository = "https://github.com/sdss/lvmieb"
documentation = "https://sdss-lvmieb.readthedocs.org"
keywords = ["astronomy", "software"]
classifiers = [
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development :: Libraries :: Python Modules"
]
packages = [
{ include = "lvmieb", from = "python" }
]
include = ["python/lvmieb/etc/*"]
[tool.poetry.scripts]
lvmieb = "lvmieb.__main__:main"
[tool.poetry.dependencies]
python = "^3.9,<3.13"
sdsstools = "^1.0.0"
sdss-clu = "^2.0.0"
numpy = "^1.20.3"
sdss-drift = "^1.1.0"
[tool.poetry.dev-dependencies]
ipython = ">=7.11.0"
flake8 = ">=3.7.9"
doc8 = ">=0.8.0"
pytest = ">=5.2.2"
pytest-asyncio = ">=0.10.0"
pytest-cov = ">=2.8.1"
pytest-mock = ">=1.13.0"
pytest-sugar = ">=0.9.2"
isort = ">=4.3.21"
coverage = {version = ">=5.0", extras = ["toml"]}
ipdb = ">=0.12.3"
rstcheck = "^3.3.1"
Sphinx = ">=3.0.0"
black = ">=21.7b0"
sphinx-click = ">=2.6.0"
sphinx-jsonschema = ">=1.16.7"
myst-parser = ">=0.14.0"
furo = "^2021.6.18-beta.36"
nox = ">=2021.6.12"
sphinx-autobuild = ">=2021.3.14"
sphinx-copybutton = ">=0.3.3"
ruff = ">=0.0.289"
[tool.black]
line-length = 88
target-version = ['py311']
fast = true
[tool.ruff]
line-length = 88
target-version = 'py311'
select = ["E", "F", "I"]
unfixable = ["F841"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401", "F403", "E402"]
[tool.ruff.isort]
known-first-party = ["lvmieb"]
lines-after-imports = 2
section-order = ["future", "standard-library", "typing", "third-party", "sdss", "first-party", "local-folder"]
[tool.ruff.isort.sections]
typing = ["typing"]
sdss = ["sdsstools", "clu", "drift"]
[tool.pytest.ini_options]
addopts = "--cov lvmieb --cov-report xml --cov-report html --cov-report term"
asyncio_mode = "auto"
[tool.coverage.run]
branch = true
include = ["python/lvmieb/*"]
omit = [
"python/lvmieb/__main__.py",
]
[tool.coverage.report]
exclude_lines = [
"# pragma: no cover",
"if TYPE_CHECKING"
]
[build-system]
requires = ["poetry-core>=1.1.0a7"]
build-backend = "poetry.core.masonry.api"