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

Commit

Permalink
Merge pull request #6534 from matrix-org/erikj/extend_mypy
Browse files Browse the repository at this point in the history
Include more folders in mypy
  • Loading branch information
erikjohnston committed Dec 12, 2019
2 parents cb2db17 + c965253 commit 7e67cfc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6534.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Test more folders against mypy.
14 changes: 13 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7e67cfc

Please sign in to comment.