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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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