update black target version (#3300)

This commit is contained in:
Michael H
2020-01-09 11:35:19 -05:00
committed by GitHub
parent 83e93916e8
commit 09a3a87cef
2 changed files with 4 additions and 4 deletions

View File

@@ -14,11 +14,11 @@ for /F "tokens=* USEBACKQ" %%A in (`git ls-files "*.py"`) do (
goto %1
:reformat
black -l 99 --target-version py37 !PYFILES!
black -l 99 --target-version py38 !PYFILES!
exit /B %ERRORLEVEL%
:stylecheck
black -l 99 --check --target-version py37 !PYFILES!
black -l 99 --check --target-version py38 !PYFILES!
exit /B %ERRORLEVEL%
:newenv