BSD Ports

devel/py-flake8-future-annotations 1.1.0_1 DragonFly

Verifies python 3.7+ files use from __future__ import annotations

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
13.7 KiB, 58.6 KiB installed

Description

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.

In the other systems

The newest version among them is 1.1.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-flake8-future-annotations1.1.0_1 newestnone known-[email protected]-
FreeBSDdevel/py-flake8-future-annotations1.1.0_1 newestnone known-[email protected]-
HardenedBSDdevel/py-flake8-future-annotations1.1.0_1 newestno data-[email protected]-
GhostBSDdevel/py-flake8-future-annotations1.1.0_1 newestno data-[email protected]-

Install

Binary package:

pkg install py311-flake8-future-annotations

From DPorts:

cd /usr/dports/devel/py-flake8-future-annotations && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

No port depends on this one.