File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,10 +60,7 @@ See <https://docs.basedpyright.com/> for IDE integration and other info.
6060
6161### mypy
6262
63- Mypy is used for type-checking the codebase and the type-tests. It takes more effort to run it on the codebase than ` basedpyright ` .
64- This is primarily a consequence of mypy's inconsequent prioritization of the stubs bundled
65- with NumPy over the ` numpy-stubs ` within a local development environment.
66- To get around this, you can delete all ` *.pyi ` from your ** local** ` numpy ` installation directory by running ` uv tool/unstub.py ` .
63+ Mypy is used for type-checking the codebase and the type-tests.
6764
6865** General Type Checking**
6966
Original file line number Diff line number Diff line change @@ -32,14 +32,6 @@ Test type stubs against actual implementations using MyPy's stubtest.
3232uv run tool/stubtest.py < OPTIONS>
3333```
3434
35- ## unstub.py
36-
37- Remove all ` .pyi ` files from the NumPy site-packages directory.
38-
39- ``` shell
40- uv run tool/unstub.py
41- ```
42-
4335## format_ignores.py
4436
4537Format pyright ignore comments to ensure they are alphabetically sorted with proper spacing.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments