-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
98 lines (89 loc) · 2.5 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
[tool.poetry]
name = "sdssdli"
version = "0.1.0a0"
description = "A Python library and actor to control Digital Loggers Inc network power switches"
authors = ["José Sánchez-Gallego <[email protected]>"]
license = "BSD-3-Clause"
readme = "README.md"
homepage = "https://github.com/sdss/sdssdli"
repository = "https://github.com/sdss/sdssdli"
documentation = "https://sdssdli.readthedocs.org"
keywords = ["astronomy", "software"]
classifiers = [
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Documentation :: Sphinx",
"Topic :: Software Development :: Libraries :: Python Modules"
]
packages = [
{ include = "sdssdli", from = "src" }
]
include = ["src/sdssdli/etc/*"]
[tool.poetry.scripts]
sdssdli = "sdssdli.__main__:main"
[tool.poetry.dependencies]
python = "^3.10,<4.0"
sdsstools = "^1.1.0"
sdss-clu = "^2.0.1"
click-default-group = "^1.2.2"
typing-extensions = "^4.5.0"
httpx = "^0.24.1"
case-insensitive-dictionary = "^0.2.1"
[tool.poetry.group.dev.dependencies]
ipython = ">=8.0.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"
black = ">=20.8b1"
Sphinx = ">=4.0.0"
furo = ">=2021.9.22"
sphinx-copybutton = ">=0.4.0"
sphinx-click = ">=3.0.1"
sphinx-jsonschema = ">=1.16.11"
myst-parser = ">=2.0.0"
nox = ">=2021.6.12"
sphinx-autobuild = ">=2021.3.14"
sphinx-autodoc-typehints = "^1.23.2"
[tool.black]
line-length = 88
target-version = ['py311']
fast = true
[tool.isort]
profile = "black"
sections = ["FUTURE", "STDLIB", "TYPING", "THIRDPARTY", "SDSS", "FIRSTPARTY", "LOCALFOLDER"]
default_section = "THIRDPARTY"
known_first_party = "sdssdli"
known_typing = ["typing"]
known_sdss = ["sdsstools", "clu"]
lines_after_imports = 2
[tool.pytest.ini_options]
addopts = "--cov sdssdli --cov-report xml --cov-report html --cov-report term -W ignore"
asyncio_mode = "auto"
[tool.coverage.run]
branch = true
include = ["src/sdssdli/*"]
omit = [
"*/__init__.py",
"src/sdssdli/__main__.py",
"src/sdssdli/exceptions.py"
]
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
"# pragma: no cover"
]
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"