Skip to content

Commit

Permalink
(chore): applying pre-commit hooks to all files
Browse files Browse the repository at this point in the history
  • Loading branch information
wpumacay committed Nov 24, 2023
1 parent 9667a79 commit 4377943
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 39 deletions.
4 changes: 0 additions & 4 deletions .cmake-format.py
Expand Up @@ -3,7 +3,6 @@
# Options affecting formatting.
# -----------------------------
with section("format"):

# If a statement is wrapped to more than one line, then dangle the closing
# parenthesis on its own line.
dangle_parens = False
Expand Down Expand Up @@ -40,7 +39,6 @@
# Options affecting comment reflow and formatting.
# ------------------------------------------------
with section("markup"):

# What character to use for bulleted lists
bullet_char = "*"

Expand All @@ -51,7 +49,6 @@
# Options affecting the linter
# ----------------------------
with section("lint"):

# a list of lint codes to disable
disabled_codes = []

Expand Down Expand Up @@ -108,7 +105,6 @@
# Options affecting file encoding
# -------------------------------
with section("encode"):

# If true, emit the unicode byte-order mark (BOM) at the start of the file
emit_byteorder_mark = False

Expand Down
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Expand Up @@ -44,6 +44,7 @@ repos:
rev: 6.0.0
hooks:
- id: flake8
exclude: .cmake-format.py

- repo: https://github.com/pycqa/isort
rev: 5.12.0
Expand Down
70 changes: 35 additions & 35 deletions docs/make.bat
@@ -1,35 +1,35 @@
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build

if "%1" == "" goto help

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=.
set BUILDDIR=_build

if "%1" == "" goto help

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd

0 comments on commit 4377943

Please sign in to comment.