-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpixi.toml
More file actions
67 lines (57 loc) · 1.83 KB
/
pixi.toml
File metadata and controls
67 lines (57 loc) · 1.83 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
[workspace]
authors = ["Johannes Koester <johannes.koester@uni-due.de>"]
channels = ["conda-forge", "bioconda"]
name = "snakemake-plugin-catalog"
platforms = ["linux-64"]
version = "0.1.0"
[tasks]
test-unit = "pytest source/test_collect_plugins.py -v"
build = "sphinx-build source build"
apply-qc = [{ task = "style", environment = "style" }]
qc = [{ task = "lint", environment = "style" }]
[tasks.build-specific]
description = "Build docs for individual plugins. Separate `package`s with ',' to specify multiple plugins."
cmd = """
export TEST_PACKAGES="{{ packages }}" && \
sphinx-build source build
"""
args = [
{ "arg" = "packages", "default" = "snakemake-executor-plugin-cluster-generic,snakemake-executor-plugin-slurm" }
]
[dependencies]
sphinx = ">=8.2.3,<9"
python = ">=3.11.0,<4"
ratelimit = ">=2.2.1,<3"
m2r2 = ">=0.3.4,<0.4"
cmake = ">=4.1.1,<5"
gcc_linux-64 = ">=15.1.0,<16"
pkgconfig = ">=1.5.5,<2"
gitpython = ">=3.1.46,<4"
git = ">=2.53.0,<3"
pytest = ">=8.0.0,<9"
[pypi-dependencies]
sphinxawesome-theme = ">=5.3.2, <6"
pypi-simple = ">=1.7.0, <2"
[feature.style.dependencies]
mdformat = ">=0.7.22,<0.8"
mdformat-gfm = "*"
fd-find = ">=10.3.0,<11"
ruff = ">=0.12.11,<0.13"
tombi = ">=0.9.4,<0.10"
[feature.style.tasks]
_style-python = "ruff format && ruff check --fix"
_style-md = "fd . --type file --extension md --exec mdformat --wrap 80"
_style-toml = "tombi format ./"
_lint-md = """
fd . \
--type file \
--extension md \
--exec mdformat --wrap 80 \
--check
"""
_lint-python = "ruff format --check && ruff check"
_lint-toml = "tombi format --check ./"
style = { depends-on = ["_style-md", "_style-python", "_style-toml"] }
lint = { depends-on = ["_lint-md", "_lint-python", "_lint-toml"] }
[environments]
style = { features = ["style"], no-default-feature = true }