forked from s9roll7/animatediff-cli-prompt-travel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
31 lines (31 loc) · 952 Bytes
/
.pre-commit-config.yaml
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
repos:
# Ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.4
hooks:
# Run the linter.
- id: ruff
name: ruff
description: "Run 'ruff' for extremely fast Python linting"
entry: ruff check --force-exclude
language: python
types_or: [python, pyi]
args: [--fix]
minimum_pre_commit_version: "2.9.2"
# Run the formatter.
- id: ruff-format
name: ruff-format
description: "Run 'ruff format' for extremely fast Python formatting"
entry: ruff format --force-exclude
language: python
types_or: [python, pyi]
minimum_pre_commit_version: "2.9.2"
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1
hooks:
- id: mypy
name: mypy
description: "Run 'mypy' for Python linting"
entry: mypy
language: python
minimum_pre_commit_version: '2.9.2'