Skip to content

Commit 5a99a71

Browse files
committed
Use the development dependency group for Snapper
1 parent 8ed531b commit 5a99a71

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎prek.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ hooks = [
367367
{
368368
id = "snapper",
369369
name = "snapper",
370-
entry = "uv run --group=snapper snapper --max-width 0 --in-place",
370+
entry = "uv run --group=dev snapper --max-width 0 --in-place",
371371
language = "python",
372372
types_or = [
373373
"rst",

‎pyproject.toml‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ dev = [
7575
# use it to lint shell commands in GitHub workflow files.
7676
"shellcheck-py==0.11.0.1",
7777
"shfmt-py==4.1.0",
78+
"snapper-fmt==0.11.0",
7879
"sphinx==9.1.0",
7980
"sphinx-copybutton==0.5.2",
8081
"sphinx-lint==1.0.2",
@@ -97,9 +98,6 @@ dev = [
9798
"zizmor==1.30.0",
9899
]
99100
release = [ "check-wheel-contents==0.6.3", "towncrier==26.9.0" ]
100-
snapper = [
101-
"snapper-fmt==0.11.0",
102-
]
103101

104102
[tool.setuptools]
105103
packages.find.where = [

0 commit comments

Comments
 (0)