Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: "Running: ${{ matrix.tox-env-name }}"
strategy:
matrix:
tox-env-name: ["docs", "docs-links"]
tox-env-name: ["docs"]

runs-on: ubuntu-latest
steps:
Expand Down
16 changes: 8 additions & 8 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.2.0
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 All @@ -68,7 +68,7 @@ repos:
- id: rst-directive-colons
- id: rst-inline-touching-normal
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.7.0
rev: v2.8.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/PyCQA/autoflake
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
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ classifiers =
Environment :: Console
Framework :: Jupyter
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Define some fixtures that can be re-used between tests."""
"""Define some fixtures that can be reused between tests."""

import shutil
import sys
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
5 changes: 0 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ deps = -rdocs/requirements-docs.txt
commands =
{envpython} -m sphinx -b html docs docs/_build/html

[testenv:docs-links]
deps = -rdocs/requirements-docs.txt
commands =
{envpython} -m sphinx -b linkcheck docs docs/_build/html

[testenv:clean-docs]
skip_install = true
deps =
Expand Down