From cd6732a4076f9416a16ed745ece56ceb61ed9041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 25 Mar 2022 12:05:10 +0100 Subject: [PATCH] Bump required Python to 3.7 for MyPy --- CHANGELOG.md | 1 + setup.cfg | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5004574..cb67916 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ changed functionality, fixed bugs). - Removed "late imports", to help isolate Blender add-ons bundling BAT from each other. - Support writing `int` and `float` types. - Decided to *not* support the Shaman API of Flamenco 3.x in BAT. The support for that protocol will be implemented in the Flamenco 3.x add-on for Blender, and not in BAT itself. A new future version of BAT will remove support for the Shaman API altogether. +- Bumped the required version of Python to 3.7. This was already done back in version 1.5, but now also the MyPy configuration takes it into account. # Version 1.11 (2022-02-18) diff --git a/setup.cfg b/setup.cfg index bd60dc5..4c31b34 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,8 +5,8 @@ addopts = -v --cov blender_asset_tracer --cov-report term-missing max-line-length = 100 [mypy] -# matches the latest Blender release -python_version = 3.5 +# This should match pyproject.toml +python_version = 3.7 warn_redundant_casts = True ignore_missing_imports = True