Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Use 'dmypy run' in lint.sh instead of 'mypy' (#9701)
Browse files Browse the repository at this point in the history
For it's obvious performance benefits. `dmypy` support landed in #9692.
  • Loading branch information
anoadragon453 committed Mar 30, 2021
1 parent 01dd90b commit f380bb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/9701.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use `dmypy run` in lint script for improved performance in type-checking while developing.
2 changes: 1 addition & 1 deletion scripts-dev/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ isort "${files[@]}"
python3 -m black "${files[@]}"
./scripts-dev/config-lint.sh
flake8 "${files[@]}"
mypy
dmypy run

0 comments on commit f380bb7

Please sign in to comment.