Skip to content

Commit 32d911e

Browse files
committed
refactor(pixi): Move python lint to style feature
1 parent a37fe47 commit 32d911e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

pixi.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ version = "0.1.0"
88
[tasks]
99
build = "sphinx-build source build"
1010
build-single = { cmd = "sphinx-build source build", env = { TEST_PACKAGES = "snakemake-executor-plugin-cluster-generic" } }
11-
qc = { cmd = "ruff format --check && ruff check", default-environment = "style" }
1211

1312
[dependencies]
1413
sphinx = ">=8.2.3,<9"
@@ -37,8 +36,13 @@ _style-python = "ruff format && ruff check --fix"
3736
_style-md = "fd . --type file --extension md --exec mdformat --wrap 80"
3837
_style-toml = "tombi format ./"
3938

39+
_lint-python = "ruff format --check && ruff check"
40+
4041
style = { depends-on = ["_style-md", "_style-python", "_style-toml"] }
4142
apply-qc = "style"
4243

44+
lint = { depends-on = ["_lint-python"] }
45+
qc = "lint"
46+
4347
[environments]
4448
style = { features = ["style"], no-default-feature = true }

0 commit comments

Comments
 (0)