forked from TrueCloudLab/allure-validator
Add pre-commit support
Signed-off-by: Kirill Sosnovskikh <k.sosnovskikh@yadro.com>
This commit is contained in:
parent
f7b790b93a
commit
76ba757964
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue