BSD Ports

devel/pytype 2024.10.11_3 FreeBSD

Python type inferencer

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
212aee9f55
License
APACHE20
Categories
devel, python
Package size
3870.4 KiB, 23185.5 KiB installed

Description

Pytype checks and infers types for your Python code - without requiring type annotations. Pytype can:

  • Lint plain Python code, flagging common mistakes such as misspelled attribute names, incorrect function calls, and much more, even across file boundaries.
  • Enforce user-provided type annotations. While annotations are optional for pytype, it will check and apply them where present.
  • Generate type annotations in standalone files ("pyi files"), which can be merged back into the Python source with a provided merge-pyi tool.

Pytype is a static analyzer; it does not execute the code it runs on.

Thousands of projects at Google rely on pytype to keep their Python code well-typed and error-free.

In the other systems

SystemPortVersion
FreeBSDdevel/pytype2024.10.11_3
DragonFlydevel/pytype2024.4.11

Install

Binary package:

pkg install pytype-py312

From the ports tree:

cd /usr/ports/devel/pytype/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pytype-py312>0:devel/pytype

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2024.10.11_32024.10.11_3-2024.10.11_12024.10.11_3
FreeBSD:14:quarterly2024.10.11_32024.10.11_3n/a2024.10.11_12024.10.11_3
FreeBSD:15:latest2024.10.11_32024.10.11_3n/a2024.10.11_12024.10.11_1
FreeBSD:15:quarterly2024.10.11_32024.10.11_3n/an/an/a
FreeBSD:16:latest2024.10.11_32024.10.11_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

Runtime 13

The full lists below include those, and their dependencies in turn.

Build dependencies 18
Run dependencies 178

The first 100 are listed.

No port depends on this one.

Configuration

No options to configure.

USES
compiler:c++11-lang python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pytype-2024.10.11.tar.gz2.789497e+06ae5ff82f0b07d5ad68d4ec32a3e8de44fad6ed565a821a76aca50a14df382274
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
212aee9f55 Po-Chuan Hsieh devel/pytype: Update version requirement of RUN_DEPENDS
- Bump PORTREVISION for package change