diff --git a/pyproject.toml b/pyproject.toml index 59f2d8d8f7..721a792ffb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.ruff] line-length = 160 -target-version = 'py37' +target-version = 'py38' select = ['E', 'F'] ignore = ['E741', 'E402', 'E722', 'E401'] builtins = ['_'] @@ -10,7 +10,7 @@ builtins = ['_'] "src/qt/__init__.py" = ["E501"] [tool.black] -target-version = ['py37'] +target-version = ['py38'] [tool.isort] profile = "black" diff --git a/setup/check.py b/setup/check.py index 2b64eb6bd3..352a8d5bfd 100644 --- a/setup/check.py +++ b/setup/check.py @@ -137,4 +137,4 @@ class UpgradeSourceCode(Command): if '/metadata/sources/' in q or '/store/stores/' in q: continue files.append(q) - subprocess.call(['pyupgrade', '--py37-plus'] + files) + subprocess.call(['pyupgrade', '--py38-plus'] + files)