forked from snakemake/snakemake-interface-executor-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (62 loc) · 2.16 KB
/
pyproject.toml
File metadata and controls
77 lines (62 loc) · 2.16 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
[project]
name = "snakemake-interface-executor-plugins"
version = "9.3.5"
description = "This package provides a stable interface for interactions between Snakemake and its executor plugins."
authors = [{ name = "Johannes Köster", email = "johannes.koester@uni-due.de" }]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"snakemake-interface-common>=1.17.4",
"throttler>=1.2.2",
"argparse-dataclass>=2.0.0",
]
[tool.coverage.run]
omit = [".*", "*/site-packages/*"]
[tool.coverage.report]
fail_under = 63
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["osx-arm64", "linux-64"]
[tool.pixi.pypi-dependencies]
[tool.pixi.tasks]
[tool.pixi.environments]
dev = { features = ["dev"] }
publish = { features = ["publish"] }
[tool.pixi.feature.dev.pypi-dependencies]
snakemake-interface-executor-plugins = { path = ".", editable = true }
snakemake = { git = "https://github.com/snakemake/snakemake.git" }
snakemake-executor-plugin-cluster-generic = { git = "https://github.com/snakemake/snakemake-executor-plugin-cluster-generic.git" }
[tool.pixi.feature.dev.tasks.test]
cmd = [
"pytest",
"--cov=snakemake_interface_executor_plugins",
"--cov-report=xml:coverage-report/coverage.xml",
"--cov-report=term-missing",
"tests/tests.py"
]
description = "Run tests and generate coverage report"
[tool.pixi.feature.dev.dependencies]
pytest = ">=8.3.5,<9"
ruff = ">=0.10.0,<0.11"
mypy = ">=1.15.0,<2"
pytest-cov = ">=6.0.0,<7"
[tool.pixi.feature.dev.tasks]
format = "ruff format snakemake_interface_executor_plugins"
lint = "ruff check"
type-check = "mypy snakemake_interface_executor_plugins/"
qc = { depends-on = ["format", "lint", "type-check"] }
[tool.mypy]
ignore_missing_imports = true
# Publish
[tool.pixi.feature.publish.dependencies]
twine = ">=6.1.0,<7"
python-build = ">=1.2.2,<2"
[tool.pixi.feature.publish.tasks]
build = { cmd = "python -m build", description = "Build the package into the dist/ directory" }
check-build = { cmd = "python -m twine check dist/*", depends-on = [
"build",
], description = "Check that the package can be uploaded" }