Add pre-commit support

Signed-off-by: Kirill Sosnovskikh <k.sosnovskikh@yadro.com>
This commit is contained in:
k.sosnovskikh 2024-08-20 16:24:02 +03:00
parent f7b790b93a
commit 76ba757964

View file

@ -20,15 +20,12 @@ Additionally, `allure-validator` can be added to pre-commit hooks:
```yaml
# .pre-commit-config.yaml
repos:
- repo: local
- repo: https://git.frostfs.info/TrueCloudLab/allure-validator
rev: 1.0.0
hooks:
- id: allure-validator
name: allure-validator
entry: allure-validator
language: system
args: ["pytest_tests/"] # folder with tests
args: ["pytest_tests/"]
pass_filenames: false
types: [python]
```
### Ignore mechanism