Skip to content

Commit

Permalink
chore: use dependency-groups
Browse files Browse the repository at this point in the history
  • Loading branch information
phi-friday committed Dec 26, 2024
1 parent 802901c commit 8a2c4af
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ repos:
args:
- "-a ruff:ruff:v:"
- "-a ruff:ruff-format:v:"
- "-g dev"
repo: https://github.com/phi-friday/sync-uv-pre-commit
rev: v0.6.3

Expand Down
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ test = [
"trio>=0.24.0",
]

[tool.uv]
managed = true
dev-dependencies = [
[dependency-groups]
dev = [
"ruff==0.8.4",
"ipykernel>=6.29.3",
"pre-commit>=3.5.0",
Expand All @@ -54,6 +53,10 @@ dev-dependencies = [
"timeout-executor[uvloop,jinja,test]",
]

[tool.uv]
managed = true
default-groups = ["dev"]

[tool.poe.tasks]
lint = ["_lint:check", "_lint:format"]
"_lint:check" = "ruff check src --fix"
Expand Down

0 comments on commit 8a2c4af

Please sign in to comment.