Skip to main content

flake8 based linter for vedro framework with integrated allure

Project description

flake8-vedro-allure

Flake8 based linter for Vedro framework and allure

Installation

pip inslall flake8-vedro-allure

Rules

  1. ALR001: missing @allure_labels for scenario
  2. ALR002: missing required allure tag
  3. ALR003: duplication of unique allure tag

Rules configuration

[flake8]
is_allure_labels_optional = false                 ;ALR001
required_allure_labels = Feature,Story,Priority   ;ALR002
unique_allure_labels = Priority                   ;ALR003

Configuration

Flake8-vedro-allure is flake8 plugin, so the configuration is the same as flake8 configuration.

You can ignore rules via

  • file setup.cfg: parameter ignore
[flake8]
ignore = ALR001
  • comment in code #noqa: ALR001

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-vedro-allure-1.0.0.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

flake8_vedro_allure-1.0.0-py3-none-any.whl (13.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page