Add more type hints to pylint plugin (#118319)

This commit is contained in:
epenet 2024-05-28 18:37:38 +02:00 committed by GitHub
parent 0b2aac8f4c
commit a59621bf9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 179 additions and 43 deletions

View file

@ -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