diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2e59559e9..0397c5e01 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/mirrors-prettier - rev: v2.7.1 + rev: v3.0.0-alpha.0 hooks: - id: prettier exclude: src/furo/theme/.*|docs/(recommendations|reference/admonitions).md @@ -37,7 +37,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/PyCQA/flake8 - rev: 5.0.2 + rev: 5.0.4 hooks: - id: flake8 diff --git a/src/furo/assets/scripts/gumshoe-patched.js b/src/furo/assets/scripts/gumshoe-patched.js index 78cee8458..a1973832f 100644 --- a/src/furo/assets/scripts/gumshoe-patched.js +++ b/src/furo/assets/scripts/gumshoe-patched.js @@ -145,7 +145,7 @@ document.body.offsetHeight, document.documentElement.offsetHeight, document.body.clientHeight, - document.documentElement.clientHeight + document.documentElement.clientHeight, ); }; @@ -333,7 +333,7 @@ Array.prototype.forEach.call(navItems, function (item) { // Get the content for the nav item var content = document.getElementById( - decodeURIComponent(item.hash.substr(1)) + decodeURIComponent(item.hash.substr(1)), ); if (!content) return; @@ -462,5 +462,5 @@ // return Constructor; - } + }, );