Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
commit
d1e6333f12
|
@ -0,0 +1 @@
|
||||||
|
Use `auto_attribs` and native type hints for attrs classes.
|
|
@ -247,7 +247,7 @@ try:
|
||||||
class BaseReporter: # type: ignore[no-redef]
|
class BaseReporter: # type: ignore[no-redef]
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@attr.s(slots=True, frozen=True)
|
@attr.s(slots=True, frozen=True, auto_attribs=True)
|
||||||
class _WrappedRustReporter(BaseReporter):
|
class _WrappedRustReporter(BaseReporter):
|
||||||
"""Wrap the reporter to ensure `report_span` never throws."""
|
"""Wrap the reporter to ensure `report_span` never throws."""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue