Skip to content

Commit 9ef0eb7

Browse files
[pre-commit.ci] pre-commit autoupdate (#879)
--------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Marco Gorelli <[email protected]>
1 parent 8833813 commit 9ef0eb7

File tree

8 files changed

+19
-25
lines changed

8 files changed

+19
-25
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: "Running: ${{ matrix.tox-env-name }}"
1111
strategy:
1212
matrix:
13-
tox-env-name: ["docs", "docs-links"]
13+
tox-env-name: ["docs"]
1414

1515
runs-on: ubuntu-latest
1616
steps:

.pre-commit-config.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@ repos:
88
- id: trailing-whitespace
99
- id: debug-statements
1010
- repo: https://github.com/pre-commit/pre-commit
11-
rev: v4.1.0
11+
rev: v4.2.0
1212
hooks:
1313
- id: validate_manifest
1414
- repo: https://github.com/hauntsaninja/black-pre-commit-mirror
1515
# black compiled with mypyc
16-
rev: 24.10.0
16+
rev: 25.1.0
1717
hooks:
1818
- id: black
1919
- repo: https://github.com/PyCQA/pylint
20-
rev: v3.3.3
20+
rev: v3.3.6
2121
hooks:
2222
- id: pylint
2323
files: ^(nbqa|tests)/
2424
exclude: ^tests/data/
2525
- repo: https://github.com/PyCQA/flake8
26-
rev: 7.1.1
26+
rev: 7.2.0
2727
hooks:
2828
- id: flake8
2929
additional_dependencies: [flake8-typing-imports==1.14.0]
3030
exclude: tests/data
3131
- repo: https://github.com/PyCQA/isort
32-
rev: 5.13.2
32+
rev: 6.0.1
3333
hooks:
3434
- id: isort
3535
- repo: https://github.com/PyCQA/pydocstyle
@@ -38,7 +38,7 @@ repos:
3838
- id: pydocstyle
3939
files: ^nbqa/
4040
- repo: https://github.com/pre-commit/mirrors-mypy
41-
rev: v1.14.1
41+
rev: v1.15.0
4242
hooks:
4343
- id: mypy
4444
exclude: ^docs/
@@ -53,7 +53,7 @@ repos:
5353
hooks:
5454
- id: auto-walrus
5555
- repo: https://github.com/codespell-project/codespell
56-
rev: v2.3.0
56+
rev: v2.4.1
5757
hooks:
5858
- id: codespell
5959
files: \.(py|rst|md)$
@@ -68,7 +68,7 @@ repos:
6868
- id: rst-directive-colons
6969
- id: rst-inline-touching-normal
7070
- repo: https://github.com/asottile/setup-cfg-fmt
71-
rev: v2.7.0
71+
rev: v2.8.0
7272
hooks:
7373
- id: setup-cfg-fmt
7474
- repo: https://github.com/PyCQA/autoflake

docs/clean_build_artifacts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Cross platform way to call 'rm -rf docs/_build/ docs/api/' """
1+
"""Cross platform way to call 'rm -rf docs/_build/ docs/api/'"""
22

33
from pathlib import Path
44
from shutil import rmtree

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ classifiers =
1313
Environment :: Console
1414
Framework :: Jupyter
1515
Intended Audience :: Developers
16-
License :: OSI Approved :: MIT License
1716
Natural Language :: English
1817
Operating System :: OS Independent
1918
Programming Language :: Python :: 3

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Define some fixtures that can be re-used between tests."""
1+
"""Define some fixtures that can be reused between tests."""
22

33
import shutil
44
import sys

tests/test_nbqa_diff.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
from _pytest.capture import CaptureFixture
1111

1212

13-
SPARKLES = "\N{sparkles}"
14-
SHORTCAKE = "\N{shortcake}"
15-
COLLISION = "\N{collision symbol}"
16-
BROKEN_HEART = "\N{broken heart}"
13+
SPARKLES = "\N{SPARKLES}"
14+
SHORTCAKE = "\N{SHORTCAKE}"
15+
COLLISION = "\N{COLLISION SYMBOL}"
16+
BROKEN_HEART = "\N{BROKEN HEART}"
1717
TESTS_DIR = Path("tests")
1818
TEST_DATA_DIR = TESTS_DIR / "data"
1919

tests/tools/test_black.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
from _pytest.capture import CaptureFixture
1616
from py._path.local import LocalPath
1717

18-
SPARKLES = "\N{sparkles}"
19-
SHORTCAKE = "\N{shortcake}"
20-
COLLISION = "\N{collision symbol}"
21-
BROKEN_HEART = "\N{broken heart}"
18+
SPARKLES = "\N{SPARKLES}"
19+
SHORTCAKE = "\N{SHORTCAKE}"
20+
COLLISION = "\N{COLLISION SYMBOL}"
21+
BROKEN_HEART = "\N{BROKEN HEART}"
2222

2323

2424
def test_black_works(tmp_notebook_for_testing: Path, capsys: "CaptureFixture") -> None:

tox.ini

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ deps = -rdocs/requirements-docs.txt
66
commands =
77
{envpython} -m sphinx -b html docs docs/_build/html
88

9-
[testenv:docs-links]
10-
deps = -rdocs/requirements-docs.txt
11-
commands =
12-
{envpython} -m sphinx -b linkcheck docs docs/_build/html
13-
149
[testenv:clean-docs]
1510
skip_install = true
1611
deps =

0 commit comments

Comments
 (0)