Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#604)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Sep 12, 2022
1 parent 756bac9 commit 4293998
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ repos:
- id: flake8

- repo: https://github.com/psf/black
rev: 22.6.0
rev: 22.8.0
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
rev: v3.0.0-alpha.0
hooks:
- id: prettier
types_or: [scss, javascript]
2 changes: 1 addition & 1 deletion src/sphinx_book_theme/assets/scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ var initTocHide = () => {
`.tag_${ii}`,
`.${ii.replace("-", "_")}`,
`.tag_${ii.replace("-", "_")}`,
]
],
);
});
document.querySelectorAll(marginSelector.join(", ")).forEach((ii) => {
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exec("python src/sphinx_book_theme/_compile_translations.py");
// Paths for various assets (sources and destinations)
const staticPath = resolve(
__dirname,
"src/sphinx_book_theme/theme/sphinx_book_theme/static"
"src/sphinx_book_theme/theme/sphinx_book_theme/static",
);

module.exports = {
Expand Down

0 comments on commit 4293998

Please sign in to comment.