Port details on branch 2022Q2 |
- py-retype Re-apply types from .pyi stub files to your codebase
- 22.8.0 devel
=0 22.8.0Version of this port present on the latest quarterly branch.
- DEPRECATED: This project is no longer supported/maintained
This port expired on: 2023-08-31
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2020-01-18 18:23:19
- Last Update: 2023-08-31 20:46:33
- Commit Hash: a2b5276
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/ambv/retype
- Description:
- Re-apply type annotations from .pyi stubs to your codebase.
It's smart enough to do the following:
- reapply typing imports
- reapply function argument annotations
- reapply function return value annotations
- reapply method argument and return value annotations
- reapply function-level variable annotations
- reapply module-level name annotations
- reapply module-level type aliases
- reapply class-level field annotations
- reapply instance-level field annotations
- validate existing source annotations against the .pyi file
- validate source function signatures against the .pyi file
- read function signature type comments in .pyi files
- read variable type comments in .pyi files
- consider existing source type comments as annotations
- remove duplicate type comments from source when annotations are applied
- normalize remaining type comments in the source to annotations; this is done
even if the corresponding .pyi file is missing
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}retype>0:devel/py-retype@${PY_FLAVOR}
- No installation instructions:
- This port has been deleted.
- PKGNAME: py39-retype
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1684104462
SHA256 (retype-22.8.0.tar.gz) = 4439b553c509741f3d08542decdde63365556dced1f4390eae0e22738d839fd9
SIZE (retype-22.8.0.tar.gz) = 38395
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>0 : devel/py-setuptools@py39
- py39-setuptools_scm>=3.4 : devel/py-setuptools_scm@py39
- py39-wheel>=0.30 : devel/py-wheel@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-click>=7 : devel/py-click@py39
- py39-pathspec>=0.5.9<1 : devel/py-pathspec@py39
- py39-typed-ast>=1.3 : devel/py-typed-ast@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-retype
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|