mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 07:33:47 +01:00
Lint
This commit is contained in:
parent
c6dbca2422
commit
57cdb046e4
2 changed files with 2 additions and 1 deletions
|
@ -142,5 +142,6 @@ class LimitBlockingTypes(object):
|
||||||
|
|
||||||
class EventContentFields(object):
|
class EventContentFields(object):
|
||||||
"""Fields found in events' content, regardless of type."""
|
"""Fields found in events' content, regardless of type."""
|
||||||
|
|
||||||
# Labels for the event, cf https://github.com/matrix-org/matrix-doc/pull/2326
|
# Labels for the event, cf https://github.com/matrix-org/matrix-doc/pull/2326
|
||||||
Labels = "org.matrix.labels"
|
Labels = "org.matrix.labels"
|
||||||
|
|
|
@ -29,7 +29,7 @@ from prometheus_client import Counter, Histogram
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
|
|
||||||
import synapse.metrics
|
import synapse.metrics
|
||||||
from synapse.api.constants import EventTypes, EventContentFields
|
from synapse.api.constants import EventContentFields, EventTypes
|
||||||
from synapse.api.errors import SynapseError
|
from synapse.api.errors import SynapseError
|
||||||
from synapse.events import EventBase # noqa: F401
|
from synapse.events import EventBase # noqa: F401
|
||||||
from synapse.events.snapshot import EventContext # noqa: F401
|
from synapse.events.snapshot import EventContext # noqa: F401
|
||||||
|
|
Loading…
Reference in a new issue