style: pre-commit formatting issues resolved

This commit is contained in:
Mateusz Pusz
2024-09-08 08:32:17 +02:00
parent 3d3990f3b5
commit 32712a20a8
3 changed files with 4 additions and 2 deletions

View File

@ -36,3 +36,5 @@ repos:
rev: 5.0.4 rev: 5.0.4
hooks: hooks:
- id: flake8 - id: flake8
exclude: ^docs/javascripts/

View File

@ -28,7 +28,7 @@ $('#apiIframe').on('load', function() {
}); });
// reloads the window with the content when a user navigates over the browser's history // reloads the window with the content when a user navigates over the browser's history
function locationHashChanged() { function locationHashChanged() {
window.location.reload(); window.location.reload();
} }
window.onhashchange = locationHashChanged; window.onhashchange = locationHashChanged;

View File

@ -14,7 +14,7 @@ jegp_add_standardese_sources(
LIBRARIES intro quantities LIBRARIES intro quantities
EXTENSIONS macros_extensions EXTENSIONS macros_extensions
CHECKED TRUE CHECKED TRUE
# PDF PATH "mp-units.pdf" #[[EXCLUDE_FROM_MAIN]] # PDF PATH "mp-units.pdf" #[[EXCLUDE_FROM_MAIN]]
HTML PATH "mp-units.html" #[[EXCLUDE_FROM_MAIN]] HTML PATH "mp-units.html" #[[EXCLUDE_FROM_MAIN]]
SECTION_FILE_STYLE "WithExtension" SECTION_FILE_STYLE "WithExtension"
LATEX_REGEX_REPLACE LATEX_REGEX_REPLACE