File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ PYTHON ?= python3.8
22
33# Python Code Style
44reformat :
5- $(PYTHON ) -m black -l 99 --target-version py37 ` git ls-files " *.py" `
5+ $(PYTHON ) -m black -l 99 --target-version py38 ` git ls-files " *.py" `
66stylecheck :
7- $(PYTHON ) -m black --check -l 99 --target-version py37 ` git ls-files " *.py" `
7+ $(PYTHON ) -m black --check -l 99 --target-version py38 ` git ls-files " *.py" `
88
99# Translations
1010gettext :
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ for /F "tokens=* USEBACKQ" %%A in (`git ls-files "*.py"`) do (
1414goto %1
1515
1616:reformat
17- black -l 99 --target-version py37 !PYFILES!
17+ black -l 99 --target-version py38 !PYFILES!
1818exit /B %ERRORLEVEL%
1919
2020:stylecheck
21- black -l 99 --check --target-version py37 !PYFILES!
21+ black -l 99 --check --target-version py38 !PYFILES!
2222exit /B %ERRORLEVEL%
2323
2424:newenv
You can’t perform that action at this time.
0 commit comments