Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#504)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/mirrors-prettier: v2.7.1 → v3.0.0-alpha.0](pre-commit/mirrors-prettier@v2.7.1...v3.0.0-alpha.0)
- [github.com/PyCQA/flake8: 5.0.2 → 5.0.4](PyCQA/flake8@5.0.2...5.0.4)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Aug 27, 2022
1 parent 9f41ee6 commit a72186f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .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
Expand Down Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions src/furo/assets/scripts/gumshoe-patched.js
Expand Up @@ -145,7 +145,7 @@
document.body.offsetHeight,
document.documentElement.offsetHeight,
document.body.clientHeight,
document.documentElement.clientHeight
document.documentElement.clientHeight,
);
};

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -462,5 +462,5 @@
//

return Constructor;
}
},
);

0 comments on commit a72186f

Please sign in to comment.