Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#95)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0)
- [github.com/psf/black: 23.12.1 → 24.4.2](psf/black@23.12.1...24.4.2)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jun 8, 2024
1 parent b8918e3 commit b98d120
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.4.2
hooks:
- id: black
1 change: 1 addition & 0 deletions src/sphinx_tags/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Sphinx extension to create tags for documentation pages.
"""

import os
import re
from fnmatch import fnmatch
Expand Down
1 change: 1 addition & 0 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* This subdirectory must contain a conf.py and source files
* The `outputs` dir contains expected output files
"""

import shutil
from os import symlink
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions test/test_badges.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""General tests for tag index and tag pages"""

from io import StringIO
from pathlib import Path
from test.conftest import OUTPUT_ROOT_DIR
Expand Down
1 change: 1 addition & 0 deletions test/test_general_tags.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""General tests for tag index and tag pages"""

from io import StringIO
from pathlib import Path
from unittest.mock import MagicMock
Expand Down

0 comments on commit b98d120

Please sign in to comment.