Skip to content

Commit

Permalink
refactor: Fixing the pre-commit eof-check failures
Browse files Browse the repository at this point in the history
Signed-off-by: Tibor Dudlák <tdudlak@redhat.com>
  • Loading branch information
Tiboris committed Nov 19, 2020
1 parent 3c08ec4 commit 93ab0ac
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ format:
black setup.py

test:
tox
tox
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ Just run tox to execute all tests and linters
$ tox
# or us make
$ make test
```
```
70 changes: 35 additions & 35 deletions docs/make.bat
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ isort==5.6.4
flake8==3.8.4
pytest==6.1.2
pytest-asyncio==0.14.0
pydocstyle==5.1.1
pydocstyle==5.1.1
2 changes: 1 addition & 1 deletion tests/unit/data/flavors.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@
"vcpus": 1
}
]
}
}
2 changes: 1 addition & 1 deletion tests/unit/data/images.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
}
],
"schema": "/v2/schemas/images"
}
}
2 changes: 1 addition & 1 deletion tests/unit/data/limits.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
},
"rate": []
}
}
}
2 changes: 1 addition & 1 deletion tests/unit/data/network_availabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@
"used_ips": 151
}
]
}
}

0 comments on commit 93ab0ac

Please sign in to comment.