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

GitHub

4 stars
2 watching
0 forks
Language: Python
last commit: about 1 year ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
zupo/flake8-mock Checks Python code for non-existent mock methods used in testing 16
peterjc/flake8-black A flake8 plugin that runs black to validate Python code style and enforce coding standards. 166
best-doctor/flake8-functions Enforces code standards for Python functions 50
jparise/flake8-assertive A Flake8 extension that enforces more specific and informative unittest assertions. 31
bagerard/flake8-test-name A Flake8 plugin to validate Python test function names against a custom convention 5
melevir/flake8-functions-names An extension for flake8 that validates Python function names and consistency with annotations. 27
best-doctor/flake8-class-attributes-order An extension for flake8 to report on class attribute order and level logic in Python classes. 60
plinss/flake8-literal This plugin checks and enforces consistent usage of string literals in Python code. 5
smarkets/flake8-strict Plugin for static code analysis of Python code adhering to strict style rules 10
jbkahn/flake8-print A plugin to check Python print statements for coding style and errors 121
coderaiser/mock-import Tools to mock and analyze JavaScript import statements in Node.js 26
jparise/flake8-author Checks Python modules for author attributes and enforces configuration rules around their usage. 3
decorator-factory/flake8-useless-assert A plugin to catch and report unnecessary assert statements in Python code. 5
dcramer/mock-django A simple library for mocking Django's ORM behavior. 224
shezadkhan137/required A library to simplify validation by providing a declarative way to define and reuse validation logic across multiple fields. 60