-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
86 lines (73 loc) · 1.98 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
[project]
name = "cerulean"
authors = [{name = "Lourens Veen"}]
description = "A Python library for talking to HPC clusters and supercomputers"
readme = "README.rst"
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
version = "0.3.8.dev"
requires-python = ">=3.8"
dependencies = [
"defusedxml",
"paramiko",
"requests",
"types-requests"
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.tox]
# This configures the outer tox, which runs tests/test_cerulean, which starts the
# containers and then launches the actual tests inside one using
# tests/container-test/run_tests.sh. You may want to edit that instead for debugging.
legacy_tox_ini = """
[tox]
envlist = py38, py39, py310, py311, py312, py313
skip_missing_interpreters = true
[testenv]
deps =
coverage
docker[ssh]
pytest>=3.6.0
pytest-cov
pycodestyle
pydocstyle
PyYAML
sh
tomli
commands =
pytest
# pytest -s -vv
pycodestyle --max-line-length=88 --max-doc-length=88 cerulean
pydocstyle cerulean
[testenv:docs]
description = Build documentation using Sphinx
basepython = python3
deps =
docutils
sphinx
sphinx-rtd-theme
recommonmark
commands = sphinx-build -M html docs/source docs/build
"""
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-s"
[tool.coverage.run]
branch = true
source = ["cerulean"]
[tool.pydocstyle]
ignore = [
"D100", "D102", "D103", "D105", "D203", "D204", "D213", "D215", "D400", "D401",
"D404", "D406", "D407", "D408", "D409", "D413"]