-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (94 loc) · 2.93 KB
/
pyproject.toml
File metadata and controls
103 lines (94 loc) · 2.93 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
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
103
[project]
name = "exosphere-cli"
version = "2.5.0.dev1"
description = "CLI/TUI driven patch reporting for remote Unix-like systems."
readme = "README.md"
authors = [
{ name = "Alexandre Gauthier", email = "alex@underwares.org" }
]
requires-python = ">=3.13"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: System :: Monitoring",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
"Typing :: Typed",
]
license = "MIT"
license-files = [
"LICENSE"
]
dependencies = [
"fabric>=3.2.2",
"typer>=0.20.0, <0.26.0",
"textual>=6.7.0",
"pyyaml>=6.0.3",
"platformdirs>=4.3.8",
"prompt-toolkit>=3.0.51",
"jinja2>=3.1.6",
"packaging>=24.0",
"rich>=14.1.0",
]
[dependency-groups]
dev = [
"fabric[pytest]>=3.2.2",
"jsonschema>=4.25.1",
"poethepoet>=0.33.1",
"pyright>=1.1.400",
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
"pytest-cov>=6.1.1",
"pytest-json-ctrf>=0.3.5",
"pytest-mock>=3.14.1",
"sphinx-rtd-theme>=3.0.2",
"ruff>=0.15.0",
"sphinx>=8.2.3",
"sphinx-autobuild>=2024.10.3",
"sphinx-lint>=1.0.0",
"sphinx-tabs>=3.4.7",
"sphinxcontrib-spelling>=8.0.1",
"sphinxcontrib-typer>=0.7.2",
"textual-dev>=1.7.0",
]
[project.optional-dependencies]
web = [
"textual-serve>=1.1.3",
]
[project.urls]
homepage = "https://exosphere.readthedocs.io"
repository = "https://github.com/mrdaemon/exosphere"
issues = "https://github.com/mrdaemon/exosphere/issues"
[project.scripts]
exosphere = "exosphere.main:main"
[build-system]
requires = ["uv_build>=0.7.19,<0.12.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = "exosphere"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.poe.tasks]
lint = "ruff check src tests scripts"
isort = "ruff check --select I --fix src tests scripts"
isort-check = "ruff check --select I src tests scripts --diff"
typecheck = "pyright src tests scripts"
ruff-format = "ruff format src tests scripts"
ruff-format-check = "ruff format --check src tests scripts --diff"
format = ['ruff-format', 'isort']
format-check = ['ruff-format-check', 'isort-check']
check = ['format-check', 'lint', 'typecheck']
test = "pytest -v --ctrf .tests_report.json"
coverage = "pytest --cov-report term-missing --cov-report html --cov=src tests/"
docs-build = "sphinx-build -b html docs/source docs/build/html"
docs-lint = "sphinx-lint docs/source"
docs-spellcheck = "sphinx-build -b spelling docs/source docs/build"
docs = ['docs-lint', 'docs-spellcheck', 'docs-build']
docs-serve = "sphinx-autobuild -b html docs/source docs/build/html --port 8000 --open-browser"
docs-mkreports = "python scripts/generate_example_reports.py"
demo = "vhs scripts/demo.tape"