Skip to content

Commit 3e8615d

Browse files
Added mixed-line-ending to .pre-commit-config.yaml (#1294)
* added mixed-line-ending to .pre-commit-config.yaml * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a0f29c5 commit 3e8615d

File tree

4 files changed

+131
-126
lines changed

4 files changed

+131
-126
lines changed

.github/manimdependency.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
{
2-
"windows": {
3-
"ffmpeg": "https://github.com/GyanD/codexffmpeg/releases/download/4.3.1-2020-11-19/ffmpeg-4.3.1-2020-11-19-full_build.zip",
4-
"pango": "v0.1.0",
5-
"tinytex": [
6-
"standalone",
7-
"preview",
8-
"doublestroke",
9-
"ms",
10-
"everysel",
11-
"setspace",
12-
"rsfs",
13-
"relsize",
14-
"ragged2e",
15-
"fundus-calligra",
16-
"microtype",
17-
"wasysym",
18-
"physics",
19-
"dvisvgm",
20-
"jknapltx",
21-
"wasy",
22-
"cm-super",
23-
"babel-english",
24-
"gnu-freefont",
25-
"mathastext",
26-
"cbfonts-fd"
27-
]
28-
}
29-
}
1+
{
2+
"windows": {
3+
"ffmpeg": "https://github.com/GyanD/codexffmpeg/releases/download/4.3.1-2020-11-19/ffmpeg-4.3.1-2020-11-19-full_build.zip",
4+
"pango": "v0.1.0",
5+
"tinytex": [
6+
"standalone",
7+
"preview",
8+
"doublestroke",
9+
"ms",
10+
"everysel",
11+
"setspace",
12+
"rsfs",
13+
"relsize",
14+
"ragged2e",
15+
"fundus-calligra",
16+
"microtype",
17+
"wasysym",
18+
"physics",
19+
"dvisvgm",
20+
"jknapltx",
21+
"wasy",
22+
"cm-super",
23+
"babel-english",
24+
"gnu-freefont",
25+
"mathastext",
26+
"cbfonts-fd"
27+
]
28+
}
29+
}

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ default_language_version:
33
default_stages: [commit, push]
44
fail_fast: false
55
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v3.4.0
8+
hooks:
9+
- id: mixed-line-ending
10+
args: ['--fix=lf']
611
- repo: https://github.com/psf/black
712
rev: 20.8b1
813
hooks:

docs/make.bat

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
@ECHO OFF
2-
3-
pushd %~dp0\source
4-
5-
REM Command file for Sphinx documentation
6-
7-
if "%SPHINXBUILD%" == "" (
8-
set SPHINXBUILD=sphinx-build
9-
)
10-
11-
REM The paths are taken from the source directory
12-
set SOURCEDIR=.
13-
set BUILDDIR=..\build
14-
15-
if "%1" == "" goto help
16-
17-
%SPHINXBUILD% >NUL 2>NUL
18-
if errorlevel 9009 (
19-
echo.
20-
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
21-
echo.installed, then set the SPHINXBUILD environment variable to point
22-
echo.to the full path of the 'sphinx-build' executable. Alternatively you
23-
echo.may add the Sphinx directory to PATH.
24-
echo.
25-
echo.If you don't have Sphinx installed, grab it from
26-
echo.http://sphinx-doc.org/
27-
exit /b 1
28-
)
29-
30-
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
31-
goto end
32-
33-
:help
34-
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
35-
36-
:end
37-
popd
1+
@ECHO OFF
2+
3+
pushd %~dp0\source
4+
5+
REM Command file for Sphinx documentation
6+
7+
if "%SPHINXBUILD%" == "" (
8+
set SPHINXBUILD=sphinx-build
9+
)
10+
11+
REM The paths are taken from the source directory
12+
set SOURCEDIR=.
13+
set BUILDDIR=..\build
14+
15+
if "%1" == "" goto help
16+
17+
%SPHINXBUILD% >NUL 2>NUL
18+
if errorlevel 9009 (
19+
echo.
20+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
21+
echo.installed, then set the SPHINXBUILD environment variable to point
22+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
23+
echo.may add the Sphinx directory to PATH.
24+
echo.
25+
echo.If you don't have Sphinx installed, grab it from
26+
echo.http://sphinx-doc.org/
27+
exit /b 1
28+
)
29+
30+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
31+
goto end
32+
33+
:help
34+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
35+
36+
:end
37+
popd
Lines changed: 60 additions & 60 deletions
Loading

0 commit comments

Comments
 (0)