Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Timo Ley
synapse
Commits
98125bba
Unverified
Commit
98125bba
authored
4 years ago
by
Patrick Cloke
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Allow running mypy directly. (#8175)
parent
88b9807b
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
changelog.d/8175.misc
+1
-0
1 addition, 0 deletions
changelog.d/8175.misc
mypy.ini
+49
-0
49 additions, 0 deletions
mypy.ini
tox.ini
+1
-51
1 addition, 51 deletions
tox.ini
with
51 additions
and
51 deletions
changelog.d/8175.misc
0 → 100644
+
1
−
0
View file @
98125bba
Standardize the mypy configuration.
This diff is collapsed.
Click to expand it.
mypy.ini
+
49
−
0
View file @
98125bba
...
@@ -6,6 +6,55 @@ check_untyped_defs = True
...
@@ -6,6 +6,55 @@ check_untyped_defs = True
show_error_codes
=
True
show_error_codes
=
True
show_traceback
=
True
show_traceback
=
True
mypy_path
=
stubs
mypy_path
=
stubs
files
=
synapse/api,
synapse/appservice,
synapse/config,
synapse/event_auth.py,
synapse/events/builder.py,
synapse/events/spamcheck.py,
synapse/federation,
synapse/handlers/auth.py,
synapse/handlers/cas_handler.py,
synapse/handlers/directory.py,
synapse/handlers/federation.py,
synapse/handlers/identity.py,
synapse/handlers/message.py,
synapse/handlers/oidc_handler.py,
synapse/handlers/presence.py,
synapse/handlers/room.py,
synapse/handlers/room_member.py,
synapse/handlers/room_member_worker.py,
synapse/handlers/saml_handler.py,
synapse/handlers/sync.py,
synapse/handlers/ui_auth,
synapse/http/server.py,
synapse/http/site.py,
synapse/logging/,
synapse/metrics,
synapse/module_api,
synapse/notifier.py,
synapse/push/pusherpool.py,
synapse/push/push_rule_evaluator.py,
synapse/replication,
synapse/rest,
synapse/server.py,
synapse/server_notices,
synapse/spam_checker_api,
synapse/state,
synapse/storage/databases/main/ui_auth.py,
synapse/storage/database.py,
synapse/storage/engines,
synapse/storage/state.py,
synapse/storage/util,
synapse/streams,
synapse/types.py,
synapse/util/caches/stream_change_cache.py,
synapse/util/metrics.py,
tests/replication,
tests/test_utils,
tests/rest/client/v2_alpha/test_auth.py,
tests/util/test_stream_change_cache.py
[mypy-pymacaroons.*]
[mypy-pymacaroons.*]
ignore_missing_imports
=
True
ignore_missing_imports
=
True
...
...
This diff is collapsed.
Click to expand it.
tox.ini
+
1
−
51
View file @
98125bba
...
@@ -171,58 +171,8 @@ deps =
...
@@ -171,58 +171,8 @@ deps =
{
[base]
deps}
{
[base]
deps}
mypy
=
=0.782
mypy
=
=0.782
mypy-zope
mypy-zope
env
=
MYPYPATH
=
stubs/
extras
=
all
extras
=
all
commands
=
mypy
\
commands
=
mypy
synapse/api
\
synapse/appservice
\
synapse/config
\
synapse/event_auth.py
\
synapse/events/builder.py
\
synapse/events/spamcheck.py
\
synapse/federation
\
synapse/handlers/auth.py
\
synapse/handlers/cas_handler.py
\
synapse/handlers/directory.py
\
synapse/handlers/federation.py
\
synapse/handlers/identity.py
\
synapse/handlers/message.py
\
synapse/handlers/oidc_handler.py
\
synapse/handlers/presence.py
\
synapse/handlers/room.py
\
synapse/handlers/room_member.py
\
synapse/handlers/room_member_worker.py
\
synapse/handlers/saml_handler.py
\
synapse/handlers/sync.py
\
synapse/handlers/ui_auth
\
synapse/http/server.py
\
synapse/http/site.py
\
synapse/logging/
\
synapse/metrics
\
synapse/module_api
\
synapse/notifier.py
\
synapse/push/pusherpool.py
\
synapse/push/push_rule_evaluator.py
\
synapse/replication
\
synapse/rest
\
synapse/server.py
\
synapse/server_notices
\
synapse/spam_checker_api
\
synapse/state
\
synapse/storage/databases/main/ui_auth.py
\
synapse/storage/database.py
\
synapse/storage/engines
\
synapse/storage/state.py
\
synapse/storage/util
\
synapse/streams
\
synapse/types.py
\
synapse/util/caches/stream_change_cache.py
\
synapse/util/metrics.py
\
tests/replication
\
tests/test_utils
\
tests/rest/client/v2_alpha/test_auth.py
\
tests/util/test_stream_change_cache.py
# To find all folders that pass mypy you run:
# To find all folders that pass mypy you run:
#
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment