diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 664852b1a..800439e47 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,13 +23,18 @@ repos: # language_version: python3 # files: plugins/modules/*.py files: \.py$ - include: lugins/modules + include: plugins/modules - repo: https://github.com/pycqa/flake8 rev: '6.0.0' hooks: - id: flake8 + - repo: https://github.com/ansible-community/antsibull-changelog.git + rev: main + hooks: + - id: antsibull-changelog-lint + - repo: https://github.com/ansible-community/ansible-lint.git rev: v6.14.4 hooks: diff --git a/changelogs/fragments/pre-commit.yml b/changelogs/fragments/pre-commit.yml index 5b9e37803..db83f9069 100644 --- a/changelogs/fragments/pre-commit.yml +++ b/changelogs/fragments/pre-commit.yml @@ -1,2 +1,3 @@ bugfixes: - - "moved ansible-lint to end of pre-commit hooks (oravirt#344)" + - "pre-commit: moved ansible-lint to end of pre-commit hooks (oravirt#344)" + - "pre-commit: added antsibull-changelog-lint (oravirt#345)"