Skip to content

Commit 1e67d95

Browse files
committed
fix: corrected regex
1 parent 8473853 commit 1e67d95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

repo-fixups

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
sed -i '/# renovate: datasource=pypi depName=uv /D' .github/workflows/*.{yml,yaml}
88

99
if [ -f pyproject.toml ]; then
10-
sed -i 's/pre-commit==[0-9.]+/prek==0.3.1/' pyproject.toml
10+
sed -i 's/pre-commit==[0-9.]\+/prek==0.3.1/' pyproject.toml
1111
fi
1212

1313
if [ -f requirements.txt ] || [ -f requirements-lint.txt ]; then
14-
sed -i 's/pre-commit==[0-9.]+/prek==0.3.1/' requirements*.txt
14+
sed -i 's/pre-commit==[0-9.]\+/prek==0.3.1/' requirements*.txt
1515
fi
1616

1717
for file in .github/workflows/*.{yml,yaml}; do

0 commit comments

Comments
 (0)