-
Notifications
You must be signed in to change notification settings - Fork 81
/
.pre-commit-config.yaml
34 lines (33 loc) · 1.04 KB
/
.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
33
34
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.6.2
hooks:
- id: ruff
args:
- --fix
- repo: https://github.com/psf/black
rev: 24.8.0
hooks:
- id: black
args:
- --safe
- --quiet
files: ^(bimmer_connected/.+)?[^/]+\.py$
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
args:
# - --ignore-words-list=hass,alot,datas,dof,dur,ether,farenheit,hist,iff,iif,ines,ist,lightsensor,mut,nd,pres,referer,rime,ser,serie,te,technik,ue,uint,visability,wan,wanna,withing,iam,incomfort,ba,haa
- --skip="./.*,*.csv,*.json"
- --quiet-level=2
exclude_types: [csv, json]
exclude: ^test/responses/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
hooks:
- id: mypy
name: mypy
entry: mypy
additional_dependencies: [types-setuptools, "typing_extensions>=3.10.0.2,<5.0"]
files: ^bimmer_connected/.+\.py$