FreeBSD.software
Home/devel/py311-flake8-future-annotations

py311-flake8-future-annotations

1.1.0_1devel

Verifies python 3.7+ files use from __future__ import annotations

Verifies python 3.7+ files use from __future__ import annotations if a type is used in the module that can be rewritten using PEP 563. Pairs well with pyupgrade with the --py37-plus flag or higher, since pyupgrade only replaces type annotations with the PEP 563 rules if from __future__ import annotations is present.

$pkg install py311-flake8-future-annotations
pypi.org/project/flake8-future-annotations
Origin
devel/py-flake8-future-annotations
Size
58.6KiB
License
MIT
Maintainer
matthew@FreeBSD.org
Dependencies
2 packages
Required by
0 packages

Dependencies (2)