Skip to content

Commit

Permalink
Pre commit ci update config (#2134)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.7 → v0.6.8](astral-sh/ruff-pre-commit@v0.6.7...v0.6.8)
- [github.com/renovatebot/pre-commit-hooks: 38.93.6 → 38.103.1](renovatebot/pre-commit-hooks@38.93.6...38.103.1)
- [github.com/gitleaks/gitleaks: v8.19.2 → v8.19.3](gitleaks/gitleaks@v8.19.2...v8.19.3)

* fix gitleaks allow rule

* fix gitleaks allow rule

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
myakove and pre-commit-ci[bot] authored Sep 30, 2024
1 parent a61c551 commit 228a43b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 4 additions & 7 deletions .gitleaks.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
title = "Gitleaks title"

[[rules]]

id = "skip rule"

[rules.allowlist]
[allowlist]
id = "skip class_generator/schema"
description = "ignore class_generator/schema"
paths = [
'''class_generator/schema/*''',
]
path = '''class_generator/schema/'''
regex = '''^.*\.(yaml|yml)$'''
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exclude: "class_generator/schema/*"
exclude: "class_generator/schema/"

default_language_version:
python: python3
Expand Down Expand Up @@ -40,7 +40,7 @@ repos:
- id: ruff-format

- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 38.103.1
rev: 38.105.0
hooks:
- id: renovate-config-validator

Expand Down

0 comments on commit 228a43b

Please sign in to comment.