Skip to main content

custom-otello-linter

Flake8 based linter for frontend tests

Installation

pip install custom-otello-linter

Configuration

Custom-otello-linter is flake8 plugin, so the configuration is the same as flake8 configuration.

You can ignore rules via

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

## Rules

### Scenario Rules
1. [OCS101. Decorator @vedro.params should not be presented](./custom_otello_linter/rules/OCS101.md)
2. [OCS102. Missing "SCREENSHOTS" allure label when using "make_screenshot_for_comparison"](./custom_otello_linter/rules/OCS102.md)
3. [OCS103. Missing platform in subject: must contain one of platform from dicts.platforms as (platform) or ({{platform}}) placeholder](./custom_otello_linter/rules/OCS103.md)
4. [OCS104. Invalid platform in subject: platform in subject must be placed in the end of the subject and be one of dicts.platforms as (platform) or ({{platform}}) placeholder](./custom_otello_linter/rules/OCS104.md)
5. [OCS105. Platform in subject doesn`t match platform in allure labels](./custom_otello_linter/rules/OCS105.md)
6. [OCS106. Decorator @selectoleted or selectoleted(...) should not be presented](./custom_otello_linter/rules/OCS106.md)

###  Scenario Steps Rules
1. [OCS300. Function make_screenshot used once](./custom_otello_linter/rules/OCS300.md)
2. [OCS301. Missing "make_screenshot_for_comparison" call when using "SCREENSHOTS" label](./custom_otello_linter/rules/OCS301.md)
3. [OCS302. Missing platform param in page opening contexts of tests parametrized with platforms](./custom_otello_linter/rules/OCS302.md)


Metadata

Release files for custom-otello-linter 1.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for custom-otello-linter 1.0.8
File Interpreter ABI Platform Actions
custom_otello_linter-1.0.8-py3-none-any.whl Python 3 none any Details for custom_otello_linter-1.0.8-py3-none-any.whl

Release files / custom_otello_linter-1.0.8-py3-none-any.whl

Download URL custom_otello_linter-1.0.8-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b5c935c3b96517fd7a14f5a287562db66bedb02b2ae2a804e46ab250621a3d7
BLAKE2b-256 checksum
How to use checksums
e934819693eaef6bc7d5e962a3082598682d5d45ccc83f3821b855e16e85de49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for custom-otello-linter 1.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page