-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
34 lines (34 loc) · 1010 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
34 lines (34 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# https://pre-commit.com/
default_language_version:
python: python3
default_stages: [pre-commit]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.10
hooks:
- id: ruff
name: ruff
description: "Run 'ruff' for Python linting"
entry: ruff check --force-exclude --fix
language: python
types_or: [python, pyi, jupyter]
require_serial: true
additional_dependencies: []
- id: ruff-format
name: ruff-format
description: "Run 'ruff format' for Python formatting"
entry: ruff format --force-exclude
language: python
types_or: [python, pyi, jupyter]
require_serial: true
additional_dependencies: []
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
hooks:
- id: gitleaks