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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flake8-pytest-1.4.tar.gz.
File metadata
- Download URL: flake8-pytest-1.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19f543b2d1cc89d61b76f19d0a9e58e9a110a035175f701b3425c363a7732c56
|
|
| MD5 |
9fb4a08f0643595c700b881d8b7587fe
|
|
| BLAKE2b-256 |
b9aadfb17bc4660b4ef199c1cd9211a77456ee6d93b8bf79e6b8c46108435147
|
File details
Details for the file flake8_pytest-1.4-py2.py3-none-any.whl.
File metadata
- Download URL: flake8_pytest-1.4-py2.py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97328f258ffad9fe18babb3b0714a16b121505ad3ac87d4e33020874555d0784
|
|
| MD5 |
d2b679258657a9c6e450c32176676f81
|
|
| BLAKE2b-256 |
79ca1baaca42e1ff50bc0758277e4e58452d3fd5f193418070830df90a07a10e
|