@@ -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 ]
4747requires = [" hatchling" ]
4848build-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 ."
6666check-clean-workspace = " git diff --exit-code"
6767ruff-lint = " ruff check . --fix"
6868pylint = " 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" ] }
7171commit-format = " git commit -a -m'autoformat code' || true"
7272test = " pytest"
7373coverage = " coverage run -m pytest && coverage xml -o coverage.xml"
7474coverage-report = " coverage report -m"
7575update-lock = " pixi update && git commit -a -m'update pixi.lock' || true"
7676push = " 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" ] }
8389clear-pixi = " rm -rf .pixi pixi.lock"
8490setup-git-merge-driver = " git config merge.ourslock.driver true"
8591update-from-template-repo = " ./scripts/update_from_template.sh"
0 commit comments