Flake8 based linter for Vedro framework and allure
pip inslall flake8-vedro-allure
- ALR001: missing @allure_labels for scenario
- ALR002: missing required allure tag
- 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
Flake8-vedro-allure is flake8 plugin, so the configuration is the same as flake8 configuration.
You can ignore rules via
- file
setup.cfg
: parameterignore
[flake8]
ignore = ALR001
- comment in code
#noqa: ALR001