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:
Christian Karl 2023-06-18 13:27:13 +02:00 committed by GitHub
commit 156c30237b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 9 deletions

View File

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

View File

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

View File

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

View File

@ -7,7 +7,7 @@
"""Tests for vimiv.utils.files."""
import collections
import imghdr
import imghdr # pylint: disable=deprecated-module
import os
import tarfile

View File

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

View File

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