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

For it's obvious performance benefits. `dmypy` support landed in #9692.
pull/9720/head
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[@]}" python3 -m black "${files[@]}"
./scripts-dev/config-lint.sh ./scripts-dev/config-lint.sh
flake8 "${files[@]}" flake8 "${files[@]}"
mypy dmypy run