Fix manager types scope (#991)

* Fix manager types scope

* Restore incremental mode and mention in developer docs

* Separate dev mypy config and regular one

* Document config files usage
This commit is contained in:
sterliakov
2022-06-14 21:30:13 +04:00
committed by GitHub
parent ae5b1a4edf
commit 32e13c37a6
8 changed files with 73 additions and 8 deletions
+6
View File
@@ -70,6 +70,12 @@ To execute the unit tests, simply run:
pytest
```
If you get some unexpected results or want to be sure that tests run is not affected by previous one, remove `mypy` cache:
```bash
rm -r .mypy_cache
```
We also test the stubs against Django's own test suite. This is done in CI but you can also do this locally.
To execute the script run: