Enable Ruff SLOT rules (#115043)

This commit is contained in:
Sid 2024-04-10 06:57:27 +02:00 committed by GitHub
parent 0636ba340c
commit d61db732da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 9 additions and 4 deletions

View file

@ -163,7 +163,7 @@ async def test_loading_derived_class():
"""Test loading data from classes derived from str."""
class MyStr(str):
pass
__slots__ = ()
class MyBytes(bytes):
pass