-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
64 lines (57 loc) · 1.66 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
[project]
name = "hpc-rocket"
version = "0.6.1"
description = "A tool to run Slurm sbatch commands over SSH"
authors = [{ name = "Sven Marcus", email = "[email protected]" }]
dependencies = [
"paramiko>=2.10.4",
"fs>=2.4.16",
"fs-sshfs>=1.0.1",
"rich>=10.1.0",
"PyYAML>=5.4.1",
]
requires-python = ">=3.8"
readme = "README.md"
license = { text = "MIT" }
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
[project.scripts]
hpc-rocket = "hpcrocket.__main__:main"
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool.pytest.ini_options]
markers = ["integration", "acceptance"]
[tool.pdm.scripts]
fmt = "black ."
doc = "sphinx-build -b html docs/source docs/build/html"
test = "pytest test -m 'not acceptance and not integration' -vv"
test-integration = "pytest test -m 'integration' -vv"
typecheck = "mypy --strict hpcrocket"
lint = "ruff hpcrocket"
[tool.pdm.dev-dependencies]
dev = [
"pytest>=6.2.3",
"pytest-cov>=2.11.1",
"pytest-timeout>=1.4.2",
"nox>=2022.11.21",
"testcontainers>=3.7.1",
]
format = ["black>=23.1.0"]
typecheck = ["mypy>=1.0.0", "types-paramiko>=3.0.0.3", "types-PyYAML>=6.0.12.6"]
doc = ["sphinx>=5.3.0", "myst-parser>=0.18.1", "furo>=2022.12.7"]
lint = ["ruff>=0.0.247"]
[tool.ruff]
line-length = 120
[tool.ruff.mccabe]
max-complexity = 10