diff options
author | Erik Johnston <erik@matrix.org> | 2019-12-12 17:21:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-12 17:21:42 +0000 |
commit | 7e67cfc87d23224459c7483b291d5708353aa4e5 (patch) | |
tree | 1593e277fad74c115ba74ebf66e04aaedb7e3e06 /tox.ini | |
parent | look up cross-signing keys from the DB in bulk (#6486) (diff) | |
parent | Newsfile (diff) | |
download | synapse-7e67cfc87d23224459c7483b291d5708353aa4e5.tar.xz |
Merge pull request #6534 from matrix-org/erikj/extend_mypy
Include more folders in mypy
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini index 903a245fb0..2ae82d674f 100644 --- a/tox.ini +++ b/tox.ini @@ -177,5 +177,17 @@ env = MYPYPATH = stubs/ extras = all commands = mypy \ + synapse/config/ \ + synapse/handlers/ui_auth \ 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 |