mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Include more folders in mypy
This commit is contained in:
parent
25f1244329
commit
324d4f61b8
14
tox.ini
14
tox.ini
@ -177,5 +177,17 @@ env =
|
|||||||
MYPYPATH = stubs/
|
MYPYPATH = stubs/
|
||||||
extras = all
|
extras = all
|
||||||
commands = mypy \
|
commands = mypy \
|
||||||
|
synapse/config/ \
|
||||||
|
synapse/handlers/ui_auth \
|
||||||
synapse/logging/ \
|
synapse/logging/ \
|
||||||
synapse/config/
|
synapse/module_api \
|
||||||
|
synapse/rest/consent \
|
||||||
|
synapse/rest/media/v0 \
|
||||||
|
synapse/rest/saml2 \
|
||||||
|
synapse/spam_checker_api \
|
||||||
|
synapse/storage/engines \
|
||||||
|
synapse/streams
|
||||||
|
|
||||||
|
# To find all folders that pass mypy you run:
|
||||||
|
#
|
||||||
|
# find synapse/* -type d -not -name __pycache__ -exec bash -c "mypy '{}' > /dev/null" \; -print
|
||||||
|
Loading…
Reference in New Issue
Block a user