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

py311-flake8-future-annotations

1.1.0_1

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.

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

Dependencies (2)

More in devel