We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
stubtest
1 parent 8758528 commit 0ede4d1Copy full SHA for 0ede4d1
Makefile
@@ -1,6 +1,8 @@
1
.DEFAULT_GOAL := all
2
sources = python/pydantic_core tests generate_self_schema.py wasm-preview/run_tests.py
3
4
+mypy-stubtest = uv run python -m mypy.stubtest pydantic_core._pydantic_core --allowlist .mypy-stubtest-allowlist
5
+
6
# using pip install cargo (via maturin via pip) doesn't get the tty handle
7
# so doesn't render color without some help
8
export CARGO_TERM_COLOR=$(shell (test -t 0 && echo "always") || echo "auto")
@@ -108,6 +110,7 @@ lint-python:
108
110
uv run ruff check $(sources)
109
111
uv run ruff format --check $(sources)
112
uv run griffe dump -f -d google -LWARNING -o/dev/null python/pydantic_core
113
+ $(mypy-stubtest)
114
115
.PHONY: lint-rust
116
lint-rust:
0 commit comments