Skip to content

Commit d6291e4

Browse files
authored
Merge pull request #75 from blooop/feature/depends_on_fix
autoformat and update to depends-on
2 parents 9301339 + 9477df6 commit d6291e4

1 file changed

Lines changed: 21 additions & 15 deletions

File tree

pyproject.toml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,23 @@ test = [
4040
"hypothesis>=6.104.2,<=6.123.2",
4141
"ruff>=0.5.0,<=0.8.6",
4242
"coverage>=7.5.4,<=7.6.10",
43-
"pre-commit<=4.0.1"
43+
"pre-commit<=4.0.1",
4444
]
4545

4646
[build-system]
4747
requires = ["hatchling"]
4848
build-backend = "hatchling.build"
4949

5050
[tool.hatch.build]
51-
include= ["python_template"]
51+
include = ["python_template"]
5252

5353
# Environments
5454
[tool.pixi.environments]
55-
default = {features = ["test"], solve-group = "default" }
56-
py310 = ["py310","test"]
57-
py311 = ["py311","test"]
58-
py312 = ["py312","test"]
59-
py313 = ["py313","test"]
55+
default = { features = ["test"], solve-group = "default" }
56+
py310 = ["py310", "test"]
57+
py311 = ["py311", "test"]
58+
py312 = ["py312", "test"]
59+
py313 = ["py313", "test"]
6060

6161

6262
[tool.pixi.tasks]
@@ -66,20 +66,26 @@ format = "ruff format ."
6666
check-clean-workspace = "git diff --exit-code"
6767
ruff-lint = "ruff check . --fix"
6868
pylint = "pylint --version && echo 'running pylint...' && pylint $(git ls-files '*.py')"
69-
lint = { depends_on = ["ruff-lint", "pylint"] }
70-
style = { depends_on = ["format","lint"]}
69+
lint = { depends-on = ["ruff-lint", "pylint"] }
70+
style = { depends-on = ["format", "lint"] }
7171
commit-format = "git commit -a -m'autoformat code' || true"
7272
test = "pytest"
7373
coverage = "coverage run -m pytest && coverage xml -o coverage.xml"
7474
coverage-report = "coverage report -m"
7575
update-lock = "pixi update && git commit -a -m'update pixi.lock' || true"
7676
push = "git push"
77-
update-lock-push = { depends_on = ["update-lock", "push"] }
78-
fix = { depends_on = ["update-lock", "format", "ruff-lint"] }
79-
fix-commit-push = { depends_on = ["fix", "commit-format", "update-lock-push"] }
80-
ci-no-cover = { depends_on = ["style", "test"] }
81-
ci = { depends_on = ["format","ruff-lint", "pylint", "coverage", "coverage-report"] }
82-
ci-push = {depends_on=["format","ruff-lint","update-lock","ci","push"]}
77+
update-lock-push = { depends-on = ["update-lock", "push"] }
78+
fix = { depends-on = ["update-lock", "format", "ruff-lint"] }
79+
fix-commit-push = { depends-on = ["fix", "commit-format", "update-lock-push"] }
80+
ci-no-cover = { depends-on = ["style", "test"] }
81+
ci = { depends-on = [
82+
"format",
83+
"ruff-lint",
84+
"pylint",
85+
"coverage",
86+
"coverage-report",
87+
] }
88+
ci-push = { depends-on = ["format", "ruff-lint", "update-lock", "ci", "push"] }
8389
clear-pixi = "rm -rf .pixi pixi.lock"
8490
setup-git-merge-driver = "git config merge.ourslock.driver true"
8591
update-from-template-repo = "./scripts/update_from_template.sh"

0 commit comments

Comments
 (0)