Skip to main content

flake8 doubles checker, ensures mock.patch is not used

Project description

# Flake8 Extension to lint for enforcing doubles

## Usage

If you are using flake8 its as easy as:

pip install flake8-doubles

When running flake8, simply do:
flake8 --doubles_exceptions='ClassName1,ClassName2'
where ClassName1 and ClassName2 are classes that you don't wish the rule to

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8_doubles-0.3.tar.gz (3.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page