Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

pytest assert checker plugin for flake8

Project Description

Check for uses of Django-style assert-statements in tests. So no more self.assertEqual(a, b), but instead assert a == b.

This module provides a plugin for flake8, the Python code checker.

Installation

You can install or upgrade flake8-pytest with these commands:

$ pip install flake8-pytest
$ pip install --upgrade flake8-pytest

Plugin for Flake8

When both flake8 and flake8-pytest are installed, the plugin is available in flake8:

$ flake8 --version
2.0 (pep8: 1.4.5, flake8-pytest: 1.1, pyflakes: 0.6.1)

Release History

This version
History Node

1.3

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
flake8_pytest-1.3-py2.py3-none-any.whl
(4.2 kB) Copy SHA256 Hash SHA256
Wheel 3.6 May 24, 2017
flake8-pytest-1.3.tar.gz
(2.7 kB) Copy SHA256 Hash SHA256
Source None May 24, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting