Skip to main content

flake8 plugin which checks for use of @beartype decorator.

Project description

flake8-require-beartype

flake8 plugin which checks for use of @beartype decorator.

It checks any function or method that has arguments other than self, cls, or mcls

installation

pip install flake8-require-beartype

flake8 codes

Code Description
RBT001 Function missing @beartype
RBT002 Method missing @beartype

rationale

Helps to add / keep beartype runtime checking in a code base.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8_require_beartype-0.1.1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

flake8_require_beartype-0.1.1-py2.py3-none-any.whl (3.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file flake8_require_beartype-0.1.1.tar.gz.

File metadata

File hashes

Hashes for flake8_require_beartype-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7521e5faeb27dc756fc4f2e946cc3dc6bafdeabc21a4449ab2beb9607f2c1a00
MD5 ca656b0abda9805f8e7fd1c22701240d
BLAKE2b-256 9c6b1853b00b800423c169be39ee07c447db36819cc0808f029cf2bae0017ce0

See more details on using hashes here.

File details

Details for the file flake8_require_beartype-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for flake8_require_beartype-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c767b2408301e3d9ebb01c134ba8a9fc77f827aa224bfef200f3aaaf821cc227
MD5 23150c13473c60906acfbfe189668cc1
BLAKE2b-256 faf5a457c52b0f02c120b177a3057a9935e28e40adf2ec9bd12ed952bc0c39c3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page