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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file flake8-vedro-allure-1.0.0.tar.gz.

File metadata

  • Download URL: flake8-vedro-allure-1.0.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for flake8-vedro-allure-1.0.0.tar.gz
Algorithm Hash digest
SHA256 34eb67cb03cf2b32d33fa8a1ee619124aeb810d0bbe11d194a2ef369b3b7f8d5
MD5 a865faf40249a6aa293ea5ad5d3a632f
BLAKE2b-256 5cde91139b7f60f98f260d0566a9f24a6100969457ba8633f0585c73acde2882

See more details on using hashes here.

File details

Details for the file flake8_vedro_allure-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flake8_vedro_allure-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c948e43f17d93ebcffdaa54d6a9c9b8b3cbf8d103dd9d7490a09b53ff963712d
MD5 ba50f4a3ee12794f7a06965c98b14bf6
BLAKE2b-256 af429843a6a3b9be6da1fd8709bc60d537fd58f3dd7e5599c7d81e4c4c1d8433

See more details on using hashes here.

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