Skip to main content

typelint

typelint is a program that detects and reports typehints in Python source code.

List type hints:

python -m typelint mypython.py

Quiet mode (number is reported as $?):

python -m typelint --quiet mypython.py

In either mode the number of typehints found is reported as the program's exit status. Counts above 99 are reported as 99 (so as to avoid overflowing the exit status value, and to leave some room for reporting errors).

Exit status

Because the count is reported at the exit status and the shell's convention is to treat 0 as true (success), it is convenient to use typelint as a test in shell scripts:

if python typelint.py mypython.py
then
    echo "no typehints found"
else
    echo "typehints found"
fi

END

Metadata

Release files for typelint 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for typelint 0.0.1
File Size Uploaded Provenance
typelint-0.0.1.tar.gz 2.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for typelint 0.0.1
File Interpreter ABI Platform
typelint-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.5 kB

Release files / typelint-0.0.1.tar.gz

Download URL typelint-0.0.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ff1514cfc650362a9fa9e72d9f51c4f25bb591a372e31472a63cdf79b003ba4d
BLAKE2b-256 checksum
How to use checksums
62718da0f7dbd694592f47316ca49fd6a08b364c35b34e4616286f20962394d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release files / typelint-0.0.1-py3-none-any.whl

Download URL typelint-0.0.1-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b54f15fa8945435c47d088c2864640a7b8786671a5529db79913af4094d73df3
BLAKE2b-256 checksum
How to use checksums
dbcbca8f985bdef7ec172d7ab91b6a384ac55c7d42557b4aa81c93fb5ca799a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Security for typelint 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page