Skip to content

Commit 7cb507b

Browse files
committed
V6.0.2
1 parent dfa2529 commit 7cb507b

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: uv python install ${{ matrix.python-version }}
4141

4242
- name: Install dependencies
43-
run: uv sync --all-extras --group dev
43+
run: uv sync --locked --all-extras --dev
4444
shell: bash
4545

4646
- name: Run tests with coverage

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
repos:
2+
- repo: https://github.com/astral-sh/uv-pre-commit
3+
rev: 0.10.0
4+
hooks:
5+
- id: uv-lock

pyproject.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,18 @@ dependencies = [
5252
[dependency-groups]
5353
dev = [
5454
"psutil>=7.2.2",
55-
"pytest>=9.0.2",
5655
"pytest-cov>=7.0.0",
57-
"coverage>=7.13.3",
5856
"black>=26.1.0",
5957
"poethepoet>=0.40.0",
6058
"ruff>=0.15.0",
6159
]
6260

6361
[tool.poe.tasks]
6462
linter.shell = "uv run ruff check --fix . && uv run black ."
65-
profile = "uv run python -m cProfile -o cprofile_unit.prof -m pytest --no-cov"
66-
test = "uv run pytest"
67-
updatedev.sequence = ["linter", {shell = "uv lock && uv sync --all-extras --group dev"}]
68-
build.sequence = ["updatedev", {shell = "uv build --wheel"}]
63+
profile.sequence = ["linter", {shell = "uv run python -m cProfile -o cprofile_unit.prof -m pytest --no-cov"}]
64+
test.sequence = ["linter", {shell = "uv run pytest"}]
65+
updatedev.sequence = ["linter", {shell = "uv lock --upgrade && uv sync --all-extras --group dev"}]
66+
build.sequence = ["updatedev", "test", {shell = "uv build --wheel"}]
6967

7068
[tool.pytest.ini_options]
7169
addopts = "-v --cov --cov-report=term --cov-report=xml --junitxml=junit.xml"

uv.lock

Lines changed: 0 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)