Skip to content

Commit 80ffd4d

Browse files
author
Steve Ayers
committed
Feedback
1 parent d98e9c0 commit 80ffd4d

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ test: generate install gettestdata ## Run unit tests
5656

5757
.PHONY: testextra
5858
testextra:
59-
uv pip install .[re2]
59+
uv sync --extra re2
6060
uv run -- python -m unittest
6161

6262
.PHONY: conformance

protovalidate/internal/extra_func.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
_USE_RE2 = True
2727
try:
28-
import re2 # type: ignore
28+
import re2
2929
except ImportError:
3030
_USE_RE2 = False
3131

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Issues = "https://github.com/bufbuild/protovalidate-python/issues"
3636

3737
[dependency-groups]
3838
dev = [
39+
"google-re2-stubs>=0.1.1",
3940
"mypy",
4041
"ruff",
4142
"types-protobuf==6.30.2.20250503",

uv.lock

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

0 commit comments

Comments
 (0)