generated from algorandfoundation/algokit-fullstack-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
32 lines (32 loc) · 987 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
32
repos:
- repo: local
hooks:
- id: black
name: black
description: "Black: The uncompromising Python code formatter"
entry: poetry run black
language: system
minimum_pre_commit_version: 2.9.2
require_serial: true
types_or: [ python, pyi ]
- id: ruff
name: ruff
description: "Run 'ruff' for extremely fast Python linting"
entry: poetry run ruff
language: system
'types': [python]
args: [--fix]
require_serial: false
additional_dependencies: []
minimum_pre_commit_version: '0'
files: '^(src|tests)/'
- 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'
files: '^(src|tests)/'