flake8 based linter for frontend tests
Project description
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: parameterignore
[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)
### 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)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file custom_otello_linter-1.0.5.tar.gz.
File metadata
- Download URL: custom_otello_linter-1.0.5.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c27cdd2b10820ae626ab470507bb54e70875ea30ef676fa43f4d986870d6a9d
|
|
| MD5 |
59fd5e5b572d4587859323ad7aa4e574
|
|
| BLAKE2b-256 |
e81a1fbcb68ebf6d24ba8474c696a06ce5c550cb028395d0b5c1660bcd984557
|
File details
Details for the file custom_otello_linter-1.0.5-py3-none-any.whl.
File metadata
- Download URL: custom_otello_linter-1.0.5-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e41a5e13dd1e443059506671dc7263f8cfd3581bf9701863521cf22f0cf0725
|
|
| MD5 |
fa4011b70c776b95ce933a270933ef4a
|
|
| BLAKE2b-256 |
47f46bca6d67f24cf06237810caa917f3c870ab80655888a06f45776d3dedc32
|