diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2023-08-29 09:41:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-29 09:41:43 -0400 |
commit | 001fc7bd199b335f628908a0c91e44967cef2c2b (patch) | |
tree | 6c4c082742b5a115da98f6d40d8a1030a981468b /synapse/rest/client | |
parent | Support IPv6-only SMTP servers (#16155) (diff) | |
download | synapse-001fc7bd199b335f628908a0c91e44967cef2c2b.tar.xz |
Bump ruff from 0.0.277 to 0.0.286 (#16198)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/report_event.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/report_event.py b/synapse/rest/client/report_event.py index ac1a63ca27..ee93e459f6 100644 --- a/synapse/rest/client/report_event.py +++ b/synapse/rest/client/report_event.py @@ -55,7 +55,7 @@ class ReportEventRestServlet(RestServlet): "Param 'reason' must be a string", Codes.BAD_JSON, ) - if type(body.get("score", 0)) is not int: + if type(body.get("score", 0)) is not int: # noqa: E721 raise SynapseError( HTTPStatus.BAD_REQUEST, "Param 'score' must be an integer", |