Skip to content

Commit 7389f81

Browse files
authored
Fix editor format (#1333)
## Describe your changes ## Checklist before requesting a review - [ ] Add unit tests for this change. - [ ] Make sure all tests can pass. - [ ] Update documents if necessary. - [ ] Lint and apply fixes to your code by running `lintrunner -a` - [ ] Is this a user-facing change? If yes, give a description of this change to be included in the release notes. - [ ] Is this PR including examples changes? If yes, please remember to update [example documentation](https://github.com/microsoft/Olive/blob/main/docs/source/examples.md) in a follow-up PR. ## (Optional) Issue link
1 parent 610a3b5 commit 7389f81

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

.lintrunner.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,8 @@ code = 'EDITORCONFIG-CHECKER'
240240
include_patterns = ['**']
241241
exclude_patterns = [
242242
'**/*.ipynb',
243-
'**/*.json'
243+
'**/*.json',
244+
'**/Makefile'
244245
]
245246
command = [
246247
'python',

docs/make.bat

+10-10
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ pushd %~dp0
55
REM Command file for Sphinx documentation
66

77
if "%SPHINXBUILD%" == "" (
8-
set SPHINXBUILD=sphinx-build
8+
set SPHINXBUILD=sphinx-build
99
)
1010
set SOURCEDIR=source
1111
set BUILDDIR=build
1212
set SCHEMABUILD="python %SOURCEDIR%/dump_schema.py"
1313

1414
%SPHINXBUILD% >NUL 2>NUL
1515
if errorlevel 9009 (
16-
echo.
17-
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
18-
echo.installed, then set the SPHINXBUILD environment variable to point
19-
echo.to the full path of the 'sphinx-build' executable. Alternatively you
20-
echo.may add the Sphinx directory to PATH.
21-
echo.
22-
echo.If you don't have Sphinx installed, grab it from
23-
echo.https://www.sphinx-doc.org/
24-
exit /b 1
16+
echo.
17+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
18+
echo.installed, then set the SPHINXBUILD environment variable to point
19+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
20+
echo.may add the Sphinx directory to PATH.
21+
echo.
22+
echo.If you don't have Sphinx installed, grab it from
23+
echo.https://www.sphinx-doc.org/
24+
exit /b 1
2525
)
2626

2727
if "%1" == "" goto help

requirements-dev.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-r requirements.txt
22
black
3-
editorconfig-checker==2.7.3
3+
editorconfig-checker
44
flake8
55
isort
66
lintrunner

0 commit comments

Comments
 (0)