Skip to content
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

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,28 @@ repos:
- id: trailing-whitespace
- id: debug-statements
- repo: https://github.com/pre-commit/pre-commit
rev: v4.1.0
rev: v4.2.0
hooks:
- id: validate_manifest
- repo: https://github.com/hauntsaninja/black-pre-commit-mirror
# black compiled with mypyc
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/pylint
rev: v3.3.3
rev: v3.3.6
hooks:
- id: pylint
files: ^(nbqa|tests)/
exclude: ^tests/data/
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
rev: 7.1.2
hooks:
- id: flake8
additional_dependencies: [flake8-typing-imports==1.14.0]
exclude: tests/data
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
rev: 6.0.1
hooks:
- id: isort
- repo: https://github.com/PyCQA/pydocstyle
Expand All @@ -38,7 +38,7 @@ repos:
- id: pydocstyle
files: ^nbqa/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
rev: v1.15.0
hooks:
- id: mypy
exclude: ^docs/
Expand All @@ -53,7 +53,7 @@ repos:
hooks:
- id: auto-walrus
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
files: \.(py|rst|md)$
Expand Down
2 changes: 1 addition & 1 deletion docs/clean_build_artifacts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Cross platform way to call 'rm -rf docs/_build/ docs/api/' """
"""Cross platform way to call 'rm -rf docs/_build/ docs/api/'"""

from pathlib import Path
from shutil import rmtree
Expand Down
8 changes: 4 additions & 4 deletions tests/test_nbqa_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
from _pytest.capture import CaptureFixture


SPARKLES = "\N{sparkles}"
SHORTCAKE = "\N{shortcake}"
COLLISION = "\N{collision symbol}"
BROKEN_HEART = "\N{broken heart}"
SPARKLES = "\N{SPARKLES}"
SHORTCAKE = "\N{SHORTCAKE}"
COLLISION = "\N{COLLISION SYMBOL}"
BROKEN_HEART = "\N{BROKEN HEART}"
TESTS_DIR = Path("tests")
TEST_DATA_DIR = TESTS_DIR / "data"

Expand Down
8 changes: 4 additions & 4 deletions tests/tools/test_black.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
from _pytest.capture import CaptureFixture
from py._path.local import LocalPath

SPARKLES = "\N{sparkles}"
SHORTCAKE = "\N{shortcake}"
COLLISION = "\N{collision symbol}"
BROKEN_HEART = "\N{broken heart}"
SPARKLES = "\N{SPARKLES}"
SHORTCAKE = "\N{SHORTCAKE}"
COLLISION = "\N{COLLISION SYMBOL}"
BROKEN_HEART = "\N{BROKEN HEART}"


def test_black_works(tmp_notebook_for_testing: Path, capsys: "CaptureFixture") -> None:
Expand Down
Loading