Enable Ruff RUF013 (#115333)

This commit is contained in:
Sid 2024-04-10 08:55:59 +02:00 committed by GitHub
parent 7e1a5b19c4
commit 3efee10b95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 65 additions and 58 deletions

View file

@ -29,7 +29,7 @@ def discord_aiohttp_mock_factory(
"""Create Discord service mock from factory."""
def _discord_aiohttp_mock_factory(
headers: dict[str, str] = None,
headers: dict[str, str] | None = None,
) -> AiohttpClientMocker:
if headers is not None:
aioclient_mock.get(