Skip to content

Commit 14d8884

Browse files
committed
Makefile: prepare for upgrading to Python 3.9 syntax
1 parent 755f842 commit 14d8884

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ EXTRAS=
2929
PYSOURCES=$(wildcard ${MODULE}/**.py) setup.py
3030
DEVPKGS=diff_cover black pylint pep257 pydocstyle flake8 tox tox-pyenv \
3131
isort wheel autoflake flake8-bugbear pyupgrade bandit \
32-
-rtest-requirements.txt -rmypy-requirements.txt
32+
-rtest-requirements.txt -rmypy-requirements.txt auto-walrus
3333
COVBASE=coverage run --append
3434

3535
# Updating the Major & Minor version below?
@@ -183,7 +183,8 @@ mypy: $(filter-out setup.py,$(PYSOURCES))
183183
MYPYPATH=$$MYPYPATH:mypy-stubs mypy $^
184184

185185
pyupgrade: $(PYSOURCES)
186-
pyupgrade --exit-zero-even-if-changed --py37-plus $^
186+
pyupgrade --exit-zero-even-if-changed --py39-plus $^
187+
auto-walrus $^
187188

188189
release-test: FORCE
189190
git diff-index --quiet HEAD -- || ( echo You have uncommitted changes, please commit them and try again; false )

0 commit comments

Comments
 (0)