Fix linting

This commit is contained in:
François Voron
2025-10-24 18:03:28 +02:00
parent 2b64cb304b
commit df930dc20b

View File

@ -63,9 +63,9 @@ def forgot_password_token(user_manager: UserManagerMock[UserModel]):
@pytest.fixture
def create_oauth2_password_request_form() -> (
Callable[[str, str], OAuth2PasswordRequestForm]
):
def create_oauth2_password_request_form() -> Callable[
[str, str], OAuth2PasswordRequestForm
]:
def _create_oauth2_password_request_form(username, password):
return OAuth2PasswordRequestForm(username=username, password=password, scope="")