Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 602 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 602 Bytes

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.