diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..71d8edd --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,7 @@ +- id: allure-validator + name: allure-validator + entry: allure-validator + language: python + minimum_pre_commit_version: 2.20.0 + require_serial: true + types_or: [python, pyi] \ No newline at end of file diff --git a/README.md b/README.md index 918da9b..6924395 100644 --- a/README.md +++ b/README.md @@ -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