Skip to content
Snippets Groups Projects
Unverified Commit 7ad7a47e authored by Andrew Morgan's avatar Andrew Morgan Committed by GitHub
Browse files

Add missing `auto_attribs=True` to the `_WrappedRustReporter` class (#11768)

parent 15ffc414
No related branches found
No related tags found
No related merge requests found
Use `auto_attribs` and native type hints for attrs classes.
\ No newline at end of file
......@@ -247,7 +247,7 @@ try:
class BaseReporter: # type: ignore[no-redef]
pass
@attr.s(slots=True, frozen=True)
@attr.s(slots=True, frozen=True, auto_attribs=True)
class _WrappedRustReporter(BaseReporter):
"""Wrap the reporter to ensure `report_span` never throws."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment