Check for uses of @patch (instead of using it as a context manager).
This module provides a plugin for flake8
, the Python code checker.
You can install or upgrade flake8-patch-decorator-unleashed
with these commands:
$ pip install flake8-patch-decorator-unleashed $ pip install --upgrade flake8-patch-decorator-unleashed Plugin for Flake8 ----------------- When both ``flake8`` and ``flake8-patch-decorator-unleashed`` are installed, the plugin is available in ``flake8``:: $ flake8 --version 2.0 (pep8: 1.4.5, flake8-patch-decorator: 1.0, pyflakes: 0.6.1)