Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vikingco/flake8-pytest
An Integration repository
https://github.com/vikingco/flake8-pytest
Last synced: 3 months ago
JSON representation
An Integration repository
- Host: GitHub
- URL: https://github.com/vikingco/flake8-pytest
- Owner: vikingco
- License: mit
- Created: 2016-06-08T08:29:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-09T21:37:41.000Z (over 1 year ago)
- Last Synced: 2024-07-11T14:19:59.506Z (4 months ago)
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 11
- Watchers: 15
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
- awesome-flake8-extensions - flake8-pytest - Enforces to use `pytest`-style assertions. (Testing)
README
Flake8 pytest plugin
====================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-pytestPlugin 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)