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: almost 3 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
zupo/flake8-mockChecks Python code for non-existent mock methods used in testing17
peterjc/flake8-blackA flake8 plugin that runs black to validate Python code style and enforce coding standards.165
best-doctor/flake8-functionsEnforces code standards for Python functions50
jparise/flake8-assertiveA Flake8 extension that enforces more specific and informative unittest assertions.31
bagerard/flake8-test-nameA Flake8 plugin to validate Python test function names against a custom convention5
melevir/flake8-functions-namesAn extension for flake8 that validates Python function names and consistency with annotations.27
best-doctor/flake8-class-attributes-orderAn extension for flake8 to report on class attribute order and level logic in Python classes.59
plinss/flake8-literalThis plugin checks and enforces consistent usage of string literals in Python code.5
smarkets/flake8-strictPlugin for static code analysis of Python code adhering to strict style rules10
jbkahn/flake8-printA plugin to check Python print statements for coding style and errors121
coderaiser/mock-importTools to mock and analyze JavaScript import statements in Node.js26
jparise/flake8-authorChecks Python modules for author attributes and enforces configuration rules around their usage.3
decorator-factory/flake8-useless-assertA plugin to catch and report unnecessary assert statements in Python code.5
dcramer/mock-djangoA simple library for mocking Django's ORM behavior.223
shezadkhan137/requiredA library to simplify validation by providing a declarative way to define and reuse validation logic across multiple fields.59