Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #504

Merged
merged 2 commits into from Aug 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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;
}
},
);