flake8-annotations is a plugin for Flake8 that detects the absence of PEP 3107-style function annotations.
sco1/flake8-annotations 的主要功能包括:Linting Tools, Type Annotations。
sco1/flake8-annotations 的开源替代品包括: asottile/flake8-typing-imports — flake8-typing-imports. astral-sh/ruff — Ruff is a high-performance static analysis and code formatting tool designed for Python. Built in Rust, it functions… best-doctor/flake8-annotations-complexity — An extension for flake8 to report on too complex type annotations. best-doctor/flake8-annotations-coverage — An extension for flake8 to report on files with a lot of code without type annotations. decorator-factory/flake8-pep585 — This plugin enforces the changes proposed by PEP 585. snok/flake8-type-checking — Lets you know which imports to move in or out of type-checking blocks.
Ruff is a high-performance static analysis and code formatting tool designed for Python. Built in Rust, it functions as a comprehensive engine that scans source code to detect programming errors, security vulnerabilities, and deviations from established coding standards. By parsing source code into a structured tree representation, it provides both automated linting and style enforcement across entire projects. The tool distinguishes itself through its speed and deep integration into the development lifecycle. It utilizes parallelized file processing to maximize throughput on large codebases
An extension for flake8 to report on too complex type annotations.
A plugin for Flake8 that provides specializations for type hinting stub files, especially interesting for linting typeshed.