Skip to content

Commit fb52892

Browse files
[pre-commit.ci] pre-commit autoupdate (#12)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
1 parent a26b09a commit fb52892

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,30 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.3.0
5+
rev: v4.5.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
99
- id: check-yaml
1010

1111
- repo: https://github.com/asottile/pyupgrade
12-
rev: v3.2.0
12+
rev: v3.15.0
1313
hooks:
1414
- id: pyupgrade
1515
args: [--py37-plus]
1616

1717
- repo: https://github.com/PyCQA/isort
18-
rev: 5.10.1
18+
rev: 5.13.2
1919
hooks:
2020
- id: isort
2121

2222
- repo: https://github.com/psf/black
23-
rev: 22.10.0
23+
rev: 23.12.1
2424
hooks:
2525
- id: black
2626

2727
- repo: https://github.com/PyCQA/flake8
28-
rev: 5.0.4
28+
rev: 7.0.0
2929
hooks:
3030
- id: flake8
3131
additional_dependencies:

.readthedocs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
version: 2
22

3+
build:
4+
os: ubuntu-22.04
5+
tools:
6+
python: "3.8"
7+
38
python:
4-
version: "3.8"
59
install:
610
- method: pip
711
path: .

src/sphinx_subfigure/tr_html.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ def run(self) -> None:
116116
for fig_node in findall(
117117
self.document, lambda n: "is_subfigure" in getattr(n, "attributes", {})
118118
):
119-
120119
# initiate figure children
121120
children = []
122121

0 commit comments

Comments
 (0)