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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf838e252d0b3f227a0be5a4c36ec33a0e9d9786417859880ebb0a00b1ef4c03 |
|
MD5 | f098c4fb7bb96812416065688c57072a |
|
BLAKE2b-256 | 1908212d0d4f1f668103c609c9413eb0672dc60f04f7856fefb29d3c9276fff0 |
Close
Hashes for flake8_require_beartype-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 739db60f1bcd0ab16090b3639fee6805c357039f3eaae63793cef53fa39c0c7d |
|
MD5 | ed9a5144dfaab18167123fbe92f68af9 |
|
BLAKE2b-256 | 04123b74d4a3e25901f3f41788457f00a4079bd098e03bc0324d4815bb4bc5d8 |