diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 025bdf0..71eb0ec 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,7 +50,7 @@ repos: types: [python] - repo: https://github.com/pycqa/pylint - rev: v3.1.0 + rev: v3.2.2 hooks: - id: pylint # Use pylintrc file in repository name: Check for Linting error on Python files diff --git a/pyproject.toml b/pyproject.toml index 41be9b5..e00413f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ test = [ lint = [ "black>=23.10.1", "isort[colors]>=5.12.0", - "pylint>=2.17.5", + "pylint>=3.0.0", "flake8==7.0.0", ] type = [ diff --git a/tests/test_logger.py b/tests/test_logger.py index 78d673c..3436a7e 100644 --- a/tests/test_logger.py +++ b/tests/test_logger.py @@ -28,6 +28,7 @@ def test_add_handler(logger, stream_handler, log_level): logger.addHandler.assert_called_once() # call_args.args was introduced in Python 3.8 + handler_arg = None if sys.version_info >= (3, 8): handler_arg = logger.addHandler.call_args.args[0] elif sys.version_info >= (3, 6):