forked from SatelliteQE/robottelo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[6.14.z] Safely bump ruff-pre-commit to v0.3.0 (SatelliteQE#14706)
Safely bump ruff-pre-commit to v0.3.0 (SatelliteQE#14692) (cherry picked from commit 590e175)
- Loading branch information
Showing
1 changed file
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,33 @@ | ||
# configuration for pre-commit git hooks | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
exclude: tests/foreman/data/ | ||
- id: check-yaml | ||
- id: debug-statements | ||
- repo: https://github.com/psf/black | ||
rev: 22.10.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.0.277 | ||
hooks: | ||
- id: ruff | ||
args: [--fix, --exit-non-zero-on-fix] | ||
- repo: local | ||
hooks: | ||
- id: fix-uuids | ||
name: Robottelo Custom Fix UUIDs script | ||
description: This hook runs the scripts/fix_uuids.sh script | ||
language: script | ||
entry: scripts/fix_uuids.sh | ||
verbose: true | ||
types: [text] | ||
require_serial: true | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
exclude: tests/foreman/data/ | ||
- id: check-yaml | ||
- id: debug-statements | ||
- repo: https://github.com/psf/black | ||
rev: 22.10.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.3.0 | ||
hooks: | ||
- id: ruff | ||
args: [--fix, --exit-non-zero-on-fix] | ||
- repo: local | ||
hooks: | ||
- id: fix-uuids | ||
name: Robottelo Custom Fix UUIDs script | ||
description: This hook runs the scripts/fix_uuids.sh script | ||
language: script | ||
entry: scripts/fix_uuids.sh | ||
verbose: true | ||
types: [text] | ||
require_serial: true | ||
- repo: https://github.com/gitleaks/gitleaks | ||
rev: v8.18.0 | ||
hooks: | ||
- id: gitleaks |