Skip to content

Commit

Permalink
Add pre-commit checks
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos authored and jan-kolarik committed Nov 30, 2023
1 parent e1ddff2 commit cb54681
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/rpm-software-management/rpmlint.git
rev: 2.5.0
hooks:
- id: rpmlint
files: ^dnf\.spec$
# Passes if packit not installed. Needed for validation locally
- repo: https://github.com/packit/pre-commit-hooks
rev: v1.2.0
hooks:
- id: validate-config

0 comments on commit cb54681

Please sign in to comment.