Skip to content

Commit

Permalink
switch installer to uv and place venv in project dir
Browse files Browse the repository at this point in the history
  • Loading branch information
d-flood committed Dec 6, 2024
1 parent 5a258a6 commit 33b1240
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,16 @@ Documentation = "https://github.com/d-flood/peasy-jobs#readme"
Issues = "https://github.com/d-flood/peasy-jobs/issues"
Source = "https://github.com/d-flood/peasy-jobs"


[tool.hatch.version]
path = "src/peasy_jobs/__about__.py"

[tool.hatch.build.targets.wheel]
packages = ["src/peasy_jobs"]

[tool.hatch.envs.default]
installer = "uv"
path = ".venv"
dependencies = ["coverage[toml]>=6.5", "pytest", "pytest-django"]

[tool.hatch.envs.default.scripts]
Expand All @@ -58,6 +61,7 @@ python = ["3.11", "3.12", "3.13"]
[tool.hatch.envs.lint]
detached = true
dependencies = ["black>=23.1.0", "ruff>=0.0.243"]

[tool.hatch.envs.lint.scripts]
style = ["ruff {args:.}", "black --check --diff {args:.}"]
fmt = ["black {args:.}", "ruff --fix {args:.}", "style"]
Expand Down

0 comments on commit 33b1240

Please sign in to comment.