-
-
Notifications
You must be signed in to change notification settings - Fork 314
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
28 lines (28 loc) · 848 Bytes
/
.pre-commit-config.yaml
File metadata and controls
28 lines (28 loc) · 848 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
exclude: "(^dynaconf/vendor+.|^venv/+.|^.venv/+.|^env/+.|^.tox/+.|^build/+.|docs|CHANGELOG.md)"
default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
args: [--allow-multiple-documents]
- id: check-merge-conflict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.14
hooks:
# Run the formatter.
- id: ruff-format
# Run the linter.
- id: ruff-check
args: [--show-fixes, --fix, --exit-non-zero-on-fix]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.19.1
hooks:
- id: mypy
files: ^dynaconf/
- repo: https://github.com/crate-ci/typos
rev: v1.42.3
hooks:
- id: typos
args: [] # Overrides default to write changes.