Skip to content

[pre-commit.ci] pre-commit autoupdate #9448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
doc/data/messages/m/missing-final-newline/bad/crlf.py
)$
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.1.14"
rev: "v0.2.2"
hooks:
- id: ruff
args: ["--fix"]
Expand All @@ -39,7 +39,7 @@ repos:
- id: isort
exclude: doc/data/messages/
- repo: https://github.com/psf/black
rev: 24.1.1
rev: 24.2.0
hooks:
- id: black
args: [--safe, --quiet]
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
sys.path.append(os.path.abspath(".."))

# pylint: disable=wrong-import-position
from pylint import __version__ # noqa: E402
from pylint.__pkginfo__ import numversion # noqa: E402
from pylint import __version__
from pylint.__pkginfo__ import numversion

# pylint: enable=wrong-import-position

Expand Down
4 changes: 2 additions & 2 deletions tests/test_pylint_runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import sys
from collections.abc import Sequence
from io import BufferedReader
from typing import Any, NoReturn, Protocol
from typing import Any, Protocol
from unittest.mock import MagicMock, mock_open, patch

import pytest
Expand All @@ -24,7 +24,7 @@


class _RunCallable(Protocol): # pylint: disable=too-few-public-methods
def __call__(self, argv: Sequence[str] | None = None) -> NoReturn | None: ...
def __call__(self, argv: Sequence[str] | None = None) -> None: ...


@pytest.mark.parametrize("runner", [run_pylint, run_pyreverse, run_symilar])
Expand Down