-
-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
32 lines (28 loc) · 874 Bytes
/
.pre-commit-config.yaml
File metadata and controls
32 lines (28 loc) · 874 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
repos:
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.2.0
hooks:
- id: black
language_version: python3.13
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
entry: codespell
language: python
types: [text]
# Exclude translation JSON files except the canonical English file
# This exclude stops codespell running on any translations path except en.json
exclude: '(^custom_components/dual_smart_thermostat/translations/(?!en.json).*$)|(^.*/translations/.*$)'
- repo: https://github.com/pycqa/flake8
rev: '7.0.0'
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
hooks:
- id: mypy