mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-05-25 09:48:41 +08:00
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:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user