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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for flake8_require_beartype-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7521e5faeb27dc756fc4f2e946cc3dc6bafdeabc21a4449ab2beb9607f2c1a00 |
|
MD5 | ca656b0abda9805f8e7fd1c22701240d |
|
BLAKE2b-256 | 9c6b1853b00b800423c169be39ee07c447db36819cc0808f029cf2bae0017ce0 |
Close
Hashes for flake8_require_beartype-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c767b2408301e3d9ebb01c134ba8a9fc77f827aa224bfef200f3aaaf821cc227 |
|
MD5 | 23150c13473c60906acfbfe189668cc1 |
|
BLAKE2b-256 | faf5a457c52b0f02c120b177a3057a9935e28e40adf2ec9bd12ed952bc0c39c3 |