Use 'dmypy run' in lint.sh instead of 'mypy' (#9701)

For it's obvious performance benefits. `dmypy` support landed in #9692.
This commit is contained in:
Andrew Morgan 2021-03-30 10:30:43 +01:00 committed by GitHub
parent 01dd90b0f0
commit f380bb77d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/9701.misc Normal file
View file

@ -0,0 +1 @@
Use `dmypy run` in lint script for improved performance in type-checking while developing.

View file

@ -95,4 +95,4 @@ isort "${files[@]}"
python3 -m black "${files[@]}"
./scripts-dev/config-lint.sh
flake8 "${files[@]}"
mypy
dmypy run