flake8-pytest-1.4
توضیحات
pytest assert checker plugin for flake8
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | flake8-pytest-1.4 |
| نام | flake8-pytest |
| نسخه کتابخانه | 1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | VikingCo NV |
| ایمیل نویسنده | technology@vikingco.com |
| آدرس صفحه اصلی | https://github.com/vikingco/flake8-pytest |
| آدرس اینترنتی | https://pypi.org/project/flake8-pytest/ |
| مجوز | MIT |
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-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)
نیازمندی
| مقدار | نام |
|---|---|
| - | flake8 |
نحوه نصب
نصب پکیج whl flake8-pytest-1.4:
pip install flake8-pytest-1.4.whl
نصب پکیج tar.gz flake8-pytest-1.4:
pip install flake8-pytest-1.4.tar.gz