From 3c60990c04e4c23dd9b1579d0aad3375ea5f1e19 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:57:21 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.5.0) - [github.com/asottile/pyupgrade: v3.2.0 → v3.15.0](https://github.com/asottile/pyupgrade/compare/v3.2.0...v3.15.0) - [github.com/PyCQA/isort: 5.10.1 → 5.13.2](https://github.com/PyCQA/isort/compare/5.10.1...5.13.2) - [github.com/psf/black: 22.10.0 → 23.12.1](https://github.com/psf/black/compare/22.10.0...23.12.1) - [github.com/PyCQA/flake8: 5.0.4 → 7.0.0](https://github.com/PyCQA/flake8/compare/5.0.4...7.0.0) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e789329..f9fa0b1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,30 +2,30 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - repo: https://github.com/asottile/pyupgrade - rev: v3.2.0 + rev: v3.15.0 hooks: - id: pyupgrade args: [--py37-plus] - repo: https://github.com/PyCQA/isort - rev: 5.10.1 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 23.12.1 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 7.0.0 hooks: - id: flake8 additional_dependencies: From aeb3f98b63cd6b1af2686b59bf772d02b2f8d871 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:57:40 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/sphinx_subfigure/tr_html.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sphinx_subfigure/tr_html.py b/src/sphinx_subfigure/tr_html.py index fb997cb..0a90621 100644 --- a/src/sphinx_subfigure/tr_html.py +++ b/src/sphinx_subfigure/tr_html.py @@ -116,7 +116,6 @@ def run(self) -> None: for fig_node in findall( self.document, lambda n: "is_subfigure" in getattr(n, "attributes", {}) ): - # initiate figure children children = [] From 60fc6df492ad7b9b964a51e1ad1d19428a92dc54 Mon Sep 17 00:00:00 2001 From: Chris Sewell Date: Fri, 12 Jan 2024 01:11:55 +0100 Subject: [PATCH 3/3] Update .readthedocs.yml --- .readthedocs.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 0303b28..cbff46a 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,7 +1,11 @@ version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.8" + python: - version: "3.8" install: - method: pip path: .