Commit e29cc2cf authored by one's avatar one
Browse files

Update uv index

parent 99d8079a
...@@ -14,7 +14,7 @@ setup: ...@@ -14,7 +14,7 @@ setup:
@echo ">> Initializing virtual environment and installing dependencies..." @echo ">> Initializing virtual environment and installing dependencies..."
uv sync --group dev uv sync --group dev
@echo ">> Installing pre-commit git hooks..." @echo ">> Installing pre-commit git hooks..."
uvx pre-commit install uv run --group dev pre-commit install
format: format:
uv run ruff check --fix src/ tests/ uv run ruff check --fix src/ tests/
...@@ -33,7 +33,7 @@ clean: ...@@ -33,7 +33,7 @@ clean:
find src tests -type d -name "__pycache__" -delete find src tests -type d -name "__pycache__" -delete
bump: bump:
uvx bump-my-version bump $(part) uv run --group dev bump-my-version bump $(part)
build: build:
uv build uv build
...@@ -32,7 +32,17 @@ Issues = "https://github.com/alephpiece/hg-misc-tools/issues" ...@@ -32,7 +32,17 @@ Issues = "https://github.com/alephpiece/hg-misc-tools/issues"
hytop = "hytop.main:main" hytop = "hytop.main:main"
[dependency-groups] [dependency-groups]
dev = ["pytest>=8", "ruff>=0.15"] dev = [
"bump-my-version>=1",
"pre-commit>=4",
"pytest>=8",
"ruff>=0.15",
]
[[tool.uv.index]]
name = "tuna"
url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/"
default = true
[tool.hatch.version] [tool.hatch.version]
path = "src/hytop/__init__.py" path = "src/hytop/__init__.py"
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment