flake8-mock-spec
Mock validator
Ensures use of correct mock object arguments to prevent bugs and improve code robustness
Enforce mocks constructed with the spec argument
4 stars
2 watching
0 forks
Language: Python
last commit: about 2 years ago
Linked from 1 awesome list
Related projects:
| Repository | Description | Stars |
|---|---|---|
| | Checks Python code for non-existent mock methods used in testing | 17 |
| | A flake8 plugin that runs black to validate Python code style and enforce coding standards. | 165 |
| | Enforces code standards for Python functions | 50 |
| | A Flake8 extension that enforces more specific and informative unittest assertions. | 31 |
| | A Flake8 plugin to validate Python test function names against a custom convention | 5 |
| | An extension for flake8 that validates Python function names and consistency with annotations. | 27 |
| | An extension for flake8 to report on class attribute order and level logic in Python classes. | 59 |
| | This plugin checks and enforces consistent usage of string literals in Python code. | 5 |
| | Plugin for static code analysis of Python code adhering to strict style rules | 10 |
| | A plugin to check Python print statements for coding style and errors | 121 |
| | Tools to mock and analyze JavaScript import statements in Node.js | 26 |
| | Checks Python modules for author attributes and enforces configuration rules around their usage. | 3 |
| | A plugin to catch and report unnecessary assert statements in Python code. | 5 |
| | A simple library for mocking Django's ORM behavior. | 223 |
| | A library to simplify validation by providing a declarative way to define and reuse validation logic across multiple fields. | 59 |