Add more type hints to pylint plugin (#118319)
This commit is contained in:
parent
0b2aac8f4c
commit
a59621bf9e
22 changed files with 179 additions and 43 deletions
|
@ -1,5 +1,6 @@
|
|||
"""Test the auth script to manage local users."""
|
||||
|
||||
from asyncio import AbstractEventLoop
|
||||
import logging
|
||||
from typing import Any
|
||||
from unittest.mock import Mock, patch
|
||||
|
@ -125,7 +126,7 @@ async def test_change_password_invalid_user(
|
|||
data.validate_login("invalid-user", "new-pass")
|
||||
|
||||
|
||||
def test_parsing_args(event_loop) -> None:
|
||||
def test_parsing_args(event_loop: AbstractEventLoop) -> None:
|
||||
"""Test we parse args correctly."""
|
||||
called = False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue