Merge pull request #624 from karlch/dependabot-pip-misc-requirements-pylint-2.17.2
Bump pylint from 2.15.10 to 2.17.2 in /misc/requirements
This commit is contained in:
commit
156c30237b
|
@ -1,4 +1,3 @@
|
|||
pylint==2.15.10
|
||||
astroid==2.12.14 # TODO remove after new pylint release
|
||||
pylint==2.17.2
|
||||
pycodestyle==2.10.0
|
||||
pydocstyle==6.3.0
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Copyright 2017-2023 Christian Karl (karlch) <karlch at protonmail dot com>
|
||||
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
|
||||
|
||||
import imghdr
|
||||
import imghdr # pylint: disable=deprecated-module
|
||||
|
||||
import pytest_bdd as bdd
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# License: GNU GPL v3, see the "LICENSE" and "AUTHORS" files for details.
|
||||
|
||||
import contextlib
|
||||
import imghdr
|
||||
import imghdr # pylint: disable=deprecated-module
|
||||
|
||||
import pytest_bdd as bdd
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"""Tests for vimiv.utils.files."""
|
||||
|
||||
import collections
|
||||
import imghdr
|
||||
import imghdr # pylint: disable=deprecated-module
|
||||
import os
|
||||
import tarfile
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ import typing
|
|||
|
||||
from vimiv import api, utils
|
||||
|
||||
WildcardReturnT = typing.Union[str, typing.Iterable[str]]
|
||||
WildcardCallbackT = typing.Callable[..., WildcardReturnT]
|
||||
WildcardReturn = typing.Union[str, typing.Iterable[str]]
|
||||
WildcardCallbackT = typing.Callable[..., WildcardReturn]
|
||||
|
||||
|
||||
class Wildcard:
|
||||
|
@ -39,7 +39,7 @@ class Wildcard:
|
|||
self.description = description
|
||||
self._callback = callback
|
||||
|
||||
def __call__(self, mode: api.modes.Mode) -> WildcardReturnT:
|
||||
def __call__(self, mode: api.modes.Mode) -> WildcardReturn:
|
||||
return self._callback(mode)
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
"""Functions dealing with files and paths."""
|
||||
|
||||
import imghdr
|
||||
import imghdr # pylint: disable=deprecated-module
|
||||
import functools
|
||||
import os
|
||||
from typing import List, Tuple, Optional, BinaryIO, Iterable, Callable
|
||||
|
|
Loading…
Reference in New Issue