Lint: Update outdated package dependencies & reformat files (#3291)
* Update `sphinx-lint` package dependency version number → 0.6.8 This new release includes the changes from https://github.com/sphinx-contrib/sphinx-lint/pull/56/files, which should address https://github.com/python/peps/issues/3028. For details about `sphinx-lint` release 0.6.8, see https://github.com/sphinx-contrib/sphinx-lint/releases/tag/v0.6.8. * Update other outdated dependencies Run the following: ``` python -m pip install pre-commit pre-commit autoupdate pre-commit run --all-files ```
This commit is contained in:
parent
6adff45cef
commit
0ebf5a4390
|
@ -43,7 +43,7 @@ repos:
|
|||
name: "Check YAML"
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.12.0
|
||||
rev: 23.7.0
|
||||
hooks:
|
||||
- id: black
|
||||
name: "Format with Black"
|
||||
|
@ -61,13 +61,13 @@ repos:
|
|||
files: 'pep_sphinx_extensions/tests/.*'
|
||||
|
||||
- repo: https://github.com/tox-dev/tox-ini-fmt
|
||||
rev: 0.6.1
|
||||
rev: 1.3.1
|
||||
hooks:
|
||||
- id: tox-ini-fmt
|
||||
name: "Format tox.ini"
|
||||
|
||||
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
||||
rev: v0.6.7
|
||||
rev: v0.6.8
|
||||
hooks:
|
||||
- id: sphinx-lint
|
||||
name: "Sphinx lint"
|
||||
|
@ -92,7 +92,7 @@ repos:
|
|||
|
||||
# Manual codespell check
|
||||
- repo: https://github.com/codespell-project/codespell
|
||||
rev: v2.2.2
|
||||
rev: v2.2.5
|
||||
hooks:
|
||||
- id: codespell
|
||||
name: "Check for common misspellings in text files"
|
||||
|
|
|
@ -87,7 +87,6 @@ def test_parse_authors(test_input, expected):
|
|||
|
||||
|
||||
def test_parse_authors_invalid():
|
||||
|
||||
pep = parser.PEP(Path("pep-0008.txt"))
|
||||
|
||||
with pytest.raises(PEPError, match="no authors found"):
|
||||
|
|
Loading…
Reference in New Issue