Skip to content
Snippets Groups Projects
Unverified Commit e5268915 authored by pre-commit-ci[bot]'s avatar pre-commit-ci[bot] Committed by GitHub
Browse files

[pre-commit.ci] pre-commit autoupdate (#1888)


Co-authored-by: default avatarpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent dc8a8131
No related branches found
Tags 7.2.4
No related merge requests found
...@@ -12,7 +12,7 @@ exclude: > ...@@ -12,7 +12,7 @@ exclude: >
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0 rev: v4.4.0
hooks: hooks:
- id: check-json - id: check-json
- id: check-yaml - id: check-yaml
...@@ -37,16 +37,16 @@ repos: ...@@ -37,16 +37,16 @@ repos:
entry: python scripts/check_doc_requirements.py entry: python scripts/check_doc_requirements.py
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: 5.10.1 rev: 5.12.0
hooks: hooks:
- id: isort - id: isort
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.10.0 rev: 23.1.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/PyCQA/flake8 - repo: https://github.com/PyCQA/flake8
rev: 5.0.4 rev: 6.0.0
hooks: hooks:
- id: flake8 - id: flake8
...@@ -5,7 +5,6 @@ __version__ = "0.13.1" ...@@ -5,7 +5,6 @@ __version__ = "0.13.1"
# We connect this function to the step after the builder is initialized # We connect this function to the step after the builder is initialized
def setup(app): def setup(app):
app.add_config_value("use_jupyterbook_latex", True, "env") app.add_config_value("use_jupyterbook_latex", True, "env")
app.add_config_value("use_multitoc_numbering", True, "env") app.add_config_value("use_multitoc_numbering", True, "env")
......
...@@ -231,7 +231,6 @@ def build( ...@@ -231,7 +231,6 @@ def build(
toc = PATH_SRC_FOLDER.joinpath("_toc.yml") if toc is None else Path(toc) toc = PATH_SRC_FOLDER.joinpath("_toc.yml") if toc is None else Path(toc)
if not get_config_only: if not get_config_only:
if not toc.exists(): if not toc.exists():
_error( _error(
"Couldn't find a Table of Contents file. " "Couldn't find a Table of Contents file. "
......
...@@ -272,7 +272,6 @@ def yaml_to_sphinx(yaml: dict): ...@@ -272,7 +272,6 @@ def yaml_to_sphinx(yaml: dict):
# HTML # HTML
html = yaml.get("html") html = yaml.get("html")
if html: if html:
for spx_key, yml_key in [ for spx_key, yml_key in [
("html_favicon", "favicon"), ("html_favicon", "favicon"),
("html_baseurl", "baseurl"), ("html_baseurl", "baseurl"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment