mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-04-28 12:03:11 -07:00
fix: move dev tools to dependency-groups so uv sync installs them always
ruff, ty, pytest, pytest-cov were in [project.optional-dependencies] requiring --extra dev to install. Moved to [dependency-groups] which uv sync includes by default, fixing the pre-push hook finding no ruff.
This commit is contained in:
2
Makefile
2
Makefile
@@ -114,7 +114,7 @@ reinstall: uninstall install
|
||||
|
||||
dev-install:
|
||||
@echo "Installing project with development dependencies..."
|
||||
uv pip install -e ".[dev]"
|
||||
uv sync --group dev
|
||||
|
||||
dev-reinstall: uninstall dev-install
|
||||
|
||||
|
||||
@@ -20,12 +20,6 @@ hate_crack = "hate_crack.__main__:main"
|
||||
|
||||
[project.optional-dependencies]
|
||||
tui = ["simple-term-menu==1.6.6"]
|
||||
dev = [
|
||||
"ty==0.0.17",
|
||||
"ruff==0.15.1",
|
||||
"pytest==9.0.2",
|
||||
"pytest-cov==7.0.0",
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["hate_crack*"]
|
||||
@@ -78,5 +72,9 @@ testpaths = [
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"ty==0.0.17",
|
||||
"ruff==0.15.1",
|
||||
"pytest==9.0.2",
|
||||
"pytest-cov==7.0.0",
|
||||
"pytest-timeout>=2.4.0",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user