File tree Expand file tree Collapse file tree 8 files changed +19
-25
lines changed
Expand file tree Collapse file tree 8 files changed +19
-25
lines changed Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 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
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/
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)$
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
Original file line number Diff line number Diff line change 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
33from pathlib import Path
44from shutil import rmtree
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 1- """Define some fixtures that can be re-used between tests."""
1+ """Define some fixtures that can be reused between tests."""
22
33import shutil
44import sys
Original file line number Diff line number Diff line change 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 } "
1717TESTS_DIR = Path ("tests" )
1818TEST_DATA_DIR = TESTS_DIR / "data"
1919
Original file line number Diff line number Diff line change 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
2424def test_black_works (tmp_notebook_for_testing : Path , capsys : "CaptureFixture" ) -> None :
Original file line number Diff line number Diff line change @@ -6,11 +6,6 @@ deps = -rdocs/requirements-docs.txt
66commands =
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]
1510skip_install = true
1611deps =
You can’t perform that action at this time.
0 commit comments