Skip to content

Commit

Permalink
ci: Update pylint to 3.2.2 (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuloc authored May 28, 2024
1 parent cb3b2df commit f291b27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
1 change: 1 addition & 0 deletions tests/test_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit f291b27

Please sign in to comment.