devel/py-flake8-future-annotations 1.1.0_1 FreeBSD
Verifies python 3.7+ files use from __future__ import annotations
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel, python
- Package size
- 15.8 KiB, 53.8 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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-flake8-future-annotations | 1.1.0_1 |
| DragonFly | devel/py-flake8-future-annotations | 1.1.0_1 |
Install
Binary package:
pkg install py312-flake8-future-annotations
From the ports tree:
cd /usr/ports/devel/py-flake8-future-annotations/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-flake8-future-annotations>0:devel/py-flake8-future-annotations
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.1.0_1 | 1.1.0_1 | - | 1.1.0_1 | 1.1.0_1 |
| FreeBSD:14:quarterly | 1.1.0_1 | 1.1.0_1 | n/a | 1.1.0_1 | 1.1.0_1 |
| FreeBSD:15:latest | 1.1.0_1 | 1.1.0_1 | n/a | 1.1.0_1 | 1.1.0_1 |
| FreeBSD:15:quarterly | 1.1.0_1 | 1.1.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.1.0_1 | 1.1.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
${PYTHON_PKGNAMEPREFIX}flake8>0: devel/py-flake8
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 11
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| flake8-future-annotations-1.1.0.tar.gz | 6832 | df416bd2b9e1eda7ea639a5fd2a083dabb942ffe49d197f836df380d0dcf6608 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.