mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-10-29 16:36:56 +08:00
Fix linting
This commit is contained in:
@ -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="")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user