Skip to content

Commit

Permalink
Revert "Install pre-commit from PyPI" (#90)
Browse files Browse the repository at this point in the history
Revert "Install pre-commit from PyPI"

pre-commit is in EPEL 9 now
Reverts a84efec

Reviewed-by: Matej Focko
  • Loading branch information
softwarefactory-project-zuul[bot] authored Oct 19, 2023
2 parents 494e9ac + e38c533 commit 6fcdf94
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions roles/pre_commit/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
---
- name: Install RPM packages
- name: Install packages
ansible.builtin.dnf:
name:
- git-core
- pre-commit
become: true

- name: Install pre-commit
ansible.builtin.pip:
name:
- pre-commit # https://bugzilla.redhat.com/show_bug.cgi?id=2032554

- name: Run pre-commit
ansible.builtin.command: pre-commit run --all-files --hook-stage manual --verbose
args:
Expand Down

0 comments on commit 6fcdf94

Please sign in to comment.