zreichert / flake8-pytest-mark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flake8-pytest-mark

Check and enforce the presence of a mark on a pytest test case.

Quick Start Guide

  1. Install flake8-pytest-mark from PyPI with pip:

    $ pip install flake8-pytest-mark
    
  2. Configure a mark that you would like to validate:

    $ cd project_root/
    $ vi .flake8
    
  1. Run flake8:

    $ flake8 tests/
    

Gotchas

  1. It is highly recommended to use this plugin inside of a virtualenv
  2. A configuration is required by this plugin, if none is found the plugin will throw a M401 validation error for every file

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

License:Other


Languages

Language:Python 84.1%Language:Makefile 15.9%