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
|
```yaml
|
||||||
# .pre-commit-config.yaml
|
# .pre-commit-config.yaml
|
||||||
repos:
|
repos:
|
||||||
- repo: local
|
- repo: https://git.frostfs.info/TrueCloudLab/allure-validator
|
||||||
|
rev: 1.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: allure-validator
|
- id: allure-validator
|
||||||
name: allure-validator
|
args: ["pytest_tests/"]
|
||||||
entry: allure-validator
|
|
||||||
language: system
|
|
||||||
args: ["pytest_tests/"] # folder with tests
|
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
types: [python]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Ignore mechanism
|
### Ignore mechanism
|
||||||
|
|
Loading…
Reference in a new issue