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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flake8-pytest-1.3.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for flake8_pytest-1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61686128a79e1513db575b2bcac351081d5a293811ddce2d5dfc25e8c762d33e |
|
MD5 | f31c0d0083ec12b4b08c0e87660450b4 |
|
BLAKE2b-256 | 60246fc7926224c6fd5e2e5e4d33dd6ddcec05faa26ef13df9f2175fb31dd18e |