Skip to content

Commit

Permalink
pre-commit: added antsibull-changelog-lint
Browse files Browse the repository at this point in the history
The pre-commit for antsibull-changelog-lint is only availible on main
branch at the moment. This will be changed in the future to the next
release of antsibull-changelog.
  • Loading branch information
Rendanic committed Jul 6, 2023
1 parent a377070 commit 73a4735
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion changelogs/fragments/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -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)"

0 comments on commit 73a4735

Please sign in to comment.