Bump required Python to 3.7 for MyPy

This commit is contained in:
Sybren A. Stüvel 2022-03-25 12:05:10 +01:00
parent 973bf741c7
commit cd6732a407
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ changed functionality, fixed bugs).
- Removed "late imports", to help isolate Blender add-ons bundling BAT from each other. - Removed "late imports", to help isolate Blender add-ons bundling BAT from each other.
- Support writing `int` and `float` types. - 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. - 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) # Version 1.11 (2022-02-18)

View File

@ -5,8 +5,8 @@ addopts = -v --cov blender_asset_tracer --cov-report term-missing
max-line-length = 100 max-line-length = 100
[mypy] [mypy]
# matches the latest Blender release # This should match pyproject.toml
python_version = 3.5 python_version = 3.7
warn_redundant_casts = True warn_redundant_casts = True
ignore_missing_imports = True ignore_missing_imports = True