forked from algorandfoundation/puya
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
31 lines (31 loc) · 1011 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:
- repo: local
hooks:
- id: black
name: black
description: "Black: The uncompromising Python code formatter"
entry: poetry run black .
pass_filenames: false
require_serial: true
language: system
minimum_pre_commit_version: 2.9.2
types_or: [python, pyi]
- id: ruff
name: ruff
description: "Run 'ruff' for extremely fast Python linting"
entry: poetry run ruff check
language: system
"types": [python]
args: [--fix, --no-cache]
additional_dependencies: []
minimum_pre_commit_version: "0"
- id: mypy
name: mypy
description: "`mypy` will check Python types for correctness"
entry: poetry run mypy
language: system
types_or: [python, pyi]
require_serial: true
additional_dependencies: []
minimum_pre_commit_version: "2.9.2"
exclude: '^(src/puyapy/(_vendor|_typeshed)/|stubs/algopy\.py)'