-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.toml
More file actions
49 lines (45 loc) · 1.12 KB
/
tox.toml
File metadata and controls
49 lines (45 loc) · 1.12 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
envlist = [
"lint",
"py3.{10,11,12,13,14}",
"docs"
]
skip_missing_interpreters = true
[env.docs]
extras = ["docs"]
commands = [
["make", "autodoc"],
["make", "--directory=docs", "clean", "html"]
]
commands_post = []
allowlist_externals = ["make"]
[env.lint]
skip_install = true
deps = [
"flake8 >= 7.3.0",
"flake8-rst-docstrings >= 0.4.0",
"ruff >= 0.14.3",
"numpydoc >= 1.9.0"
]
commands = [["make", "lint"]]
commands_post = []
allowlist_externals = ["make"]
[env_run_base]
setenv = {PYTEST_ADDOPTS = "--color=yes --cov=xhydro_lstm --cov-report=lcov", PYTHONPATH = "{toxinidir}"}
passenv = ["COVERALLS_*", "GITHUB_*"]
extras = ["dev"]
download = true
install_command = ["python", "-m", "pip", "install", "--no-user", "{opts}", "{packages}"]
commands_pre = [["pip", "list"], ["pip", "check"]]
commands = [
["python", "-m", "pip", "install", "--no-user", "--upgrade", "--no-deps", "--force-reinstall", "--no-binary", "h5py", "h5py>=3.12.1"],
["pytest", "{posargs}"]
]
commands_post = [
["coverage", "report"]
]
[gh.python]
"3.10" = ["py3.10"]
"3.11" = ["py3.11"]
"3.12" = ["py3.12"]
"3.13" = ["py3.13"]
"3.14" = ["py3.14"]