Enable Ruff RUF013 (#115333)
This commit is contained in:
parent
7e1a5b19c4
commit
3efee10b95
28 changed files with 65 additions and 58 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue