-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpixi.toml
More file actions
41 lines (37 loc) · 877 Bytes
/
pixi.toml
File metadata and controls
41 lines (37 loc) · 877 Bytes
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
[workspace]
name = "copier-template-python-open-source"
description = "Copier template for python projects using pixi"
channels = ["conda-forge"]
exclude-newer = "7d"
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]
[dependencies]
python = ">=3.12"
copier = ">=9.3.1,<10"
pytest = ">=8.2,<9"
"ruamel.yaml" = "*"
mypy = "*"
pre-commit = "*"
gh = "*"
go-yq = "*"
[tasks]
test = "pytest"
generate-temp-repo = """
export COPIER_PATH="$(mktemp -d)" && \
copier copy --trust --vcs-ref=HEAD . "$COPIER_PATH" && \
echo "Generated repo to $COPIER_PATH"
"""
[feature.lint.dependencies]
lefthook = "*"
insert-license-header = "*"
docformatter = "*"
ruff = "*"
prettier = "*"
taplo = "*"
pre-commit-hooks = "*"
typos = "*"
zizmor = "*"
[feature.lint.tasks]
pre-commit-install = "lefthook install"
lint = "lefthook run pre-commit --all-files"
[environments]
default = ["lint"]