Skip to content

Commit 09a3a87

Browse files
update black target version (Cog-Creators#3300)
1 parent 83e9391 commit 09a3a87

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ PYTHON ?= python3.8
22

33
# Python Code Style
44
reformat:
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"`
66
stylecheck:
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
1010
gettext:

make.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ for /F "tokens=* USEBACKQ" %%A in (`git ls-files "*.py"`) do (
1414
goto %1
1515

1616
:reformat
17-
black -l 99 --target-version py37 !PYFILES!
17+
black -l 99 --target-version py38 !PYFILES!
1818
exit /B %ERRORLEVEL%
1919

2020
:stylecheck
21-
black -l 99 --check --target-version py37 !PYFILES!
21+
black -l 99 --check --target-version py38 !PYFILES!
2222
exit /B %ERRORLEVEL%
2323

2424
:newenv

0 commit comments

Comments
 (0)