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
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ exclude: >
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-json
- id: check-yaml
......@@ -37,16 +37,16 @@ repos:
entry: python scripts/check_doc_requirements.py
- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8
......@@ -5,7 +5,6 @@ __version__ = "0.13.1"
# We connect this function to the step after the builder is initialized
def setup(app):
app.add_config_value("use_jupyterbook_latex", True, "env")
app.add_config_value("use_multitoc_numbering", True, "env")
......
......@@ -231,7 +231,6 @@ def build(
toc = PATH_SRC_FOLDER.joinpath("_toc.yml") if toc is None else Path(toc)
if not get_config_only:
if not toc.exists():
_error(
"Couldn't find a Table of Contents file. "
......
......@@ -272,7 +272,6 @@ def yaml_to_sphinx(yaml: dict):
# HTML
html = yaml.get("html")
if html:
for spx_key, yml_key in [
("html_favicon", "favicon"),
("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