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

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


Co-authored-by: default avatarpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent 52f27203
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ exclude: >
repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
rev: v4.0.1
hooks:
- id: check-json
- id: check-yaml
......@@ -25,7 +25,7 @@ repos:
# - id: setup-cfg-fmt
- repo: https://github.com/mgedmin/check-manifest
rev: "0.46"
rev: "0.47"
hooks:
- id: check-manifest
args: [--no-build-isolation]
......@@ -47,16 +47,16 @@ repos:
entry: python scripts/check_doc_requirements.py
- repo: https://github.com/pycqa/isort
rev: 5.8.0
rev: 5.9.3
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 20.8b1
rev: 21.9b0
hooks:
- id: black
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
......@@ -114,7 +114,7 @@ def update_latex_documents(latex_documents, latexoverrides):
def latex_document_components(latex_documents):
""" Return a dictionary of latex_document components by name """
"""Return a dictionary of latex_document components by name"""
latex_tuple_components = {}
for idx, item in enumerate(LATEX_DOCUMENTS):
# skip if latex_documents doesn't doesn't contain all elements
......@@ -126,7 +126,7 @@ def latex_document_components(latex_documents):
def latex_document_tuple(components):
""" Return a tuple for latex_documents from named components dictionary """
"""Return a tuple for latex_documents from named components dictionary"""
latex_doc = []
for item in LATEX_DOCUMENTS:
if item not in components.keys():
......
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