Skip to main content

flake8-type-annotations

wemake.services Build Status Coverage Python Version PyPI version

This tool is used to validate type annotations syntax as it was originally proposed by Guido van Rossum.

Installation

pip install flake8-type-annotations

Code example

# Consistency with this plugin:
def function(param=0, other: int = 0) -> int:
    return param + other


# Possible errors without this plugin:
def function(param=0, other: int=0)->int:
    return param + other

Error codes

Error code Description
T800 Missing spaces between parameter annotation and default value
T801 Missing spaces in return type annotation

License

MIT.

Metadata

Release files for flake8-type-annotations 0.1.0

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

Source distribution (sdist)

Source distribution for flake8-type-annotations 0.1.0
File Size Uploaded Provenance Actions
flake8-type-annotations-0.1.0.tar.gz 4.0 kB Without provenance Details for flake8-type-annotations-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flake8-type-annotations 0.1.0
File Interpreter ABI Platform Actions
flake8_type_annotations-0.1.0-py3-none-any.whl Python 3 none any Details for flake8_type_annotations-0.1.0-py3-none-any.whl

Total release size: 10.9 kB

Release files / flake8-type-annotations-0.1.0.tar.gz

Download URL flake8-type-annotations-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
88775455792ad7bbd63a71bc94e8a077deb5608eacb5add7e5a7a648c7636426
BLAKE2b-256 checksum
How to use checksums
06e26c006b0be107a05bd18c628fcb375a0385324945e3b83e134d1fc6b11bdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.11.2 CPython/3.6.5 Darwin/15.6.0

Release files / flake8_type_annotations-0.1.0-py3-none-any.whl

Download URL flake8_type_annotations-0.1.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de64de5efef3277d7b6012e8618c37d35b21465fb16292e46e6eec5b87e47a8c
BLAKE2b-256 checksum
How to use checksums
04e40ccc501ccadb718d8f71e70ccc9912a3266619008384b8773de787fa7c31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.11.2 CPython/3.6.5 Darwin/15.6.0

Security for flake8-type-annotations 0.1.0

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.1.0 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