mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-19 08:24:25 +01:00
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:
parent
01dd90b0f0
commit
f380bb77d1
2 changed files with 2 additions and 1 deletions
1
changelog.d/9701.misc
Normal file
1
changelog.d/9701.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Use `dmypy run` in lint script for improved performance in type-checking while developing.
|
|
@ -95,4 +95,4 @@ isort "${files[@]}"
|
|||
python3 -m black "${files[@]}"
|
||||
./scripts-dev/config-lint.sh
|
||||
flake8 "${files[@]}"
|
||||
mypy
|
||||
dmypy run
|
||||
|
|
Loading…
Reference in a new issue