Mark Module API error imports as re-exported and mark Synapse as containing type annotations (#11054)

This commit is contained in:
reivilibre 2021-10-13 08:42:41 +01:00 committed by GitHub
parent 8711e15734
commit 2a2b189130
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 2 deletions

View file

@ -14,9 +14,16 @@
"""Exception types which are exposed as part of the stable module API"""
from synapse.api.errors import ( # noqa: F401
from synapse.api.errors import (
InvalidClientCredentialsError,
RedirectException,
SynapseError,
)
from synapse.config._base import ConfigError # noqa: F401
from synapse.config._base import ConfigError
__all__ = [
"InvalidClientCredentialsError",
"RedirectException",
"SynapseError",
"ConfigError",
]