-
Notifications
You must be signed in to change notification settings - Fork 2
/
pixi.toml
40 lines (36 loc) · 889 Bytes
/
pixi.toml
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
[project]
name = "copier-template-python-open-source"
description = "Copier template for python projects using pixi"
channels = ["conda-forge"]
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]
pre-commit = "*"
insert-license-header = "*"
docformatter = "*"
ruff = "*"
prettier = "*"
taplo = "*"
pre-commit-hooks = "*"
typos = "*"
[feature.lint.tasks]
pre-commit-install = "pre-commit install"
pre-commit-run = "pre-commit run -a"
[environments]
default = []
lint = { features = ["lint"], no-default-feature = true }