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
File details
Details for the file flake8_require_beartype-0.1.1.tar.gz
.
File metadata
- Download URL: flake8_require_beartype-0.1.1.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7521e5faeb27dc756fc4f2e946cc3dc6bafdeabc21a4449ab2beb9607f2c1a00 |
|
MD5 | ca656b0abda9805f8e7fd1c22701240d |
|
BLAKE2b-256 | 9c6b1853b00b800423c169be39ee07c447db36819cc0808f029cf2bae0017ce0 |
File details
Details for the file flake8_require_beartype-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: flake8_require_beartype-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c767b2408301e3d9ebb01c134ba8a9fc77f827aa224bfef200f3aaaf821cc227 |
|
MD5 | 23150c13473c60906acfbfe189668cc1 |
|
BLAKE2b-256 | faf5a457c52b0f02c120b177a3057a9935e28e40adf2ec9bd12ed952bc0c39c3 |