-
-
Notifications
You must be signed in to change notification settings - Fork 399
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
42 lines (37 loc) · 903 Bytes
/
.pre-commit-config.yaml
File metadata and controls
42 lines (37 loc) · 903 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
33
34
35
36
37
38
39
40
41
42
exclude: '.*\.ipynb$'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
args: ['--unsafe']
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
hooks:
- id: codespell
additional_dependencies:
- tomli
exclude: 'cassettes/'
# Removed black - using ruff-format instead to avoid formatting conflicts
# - repo: https://github.com/psf/black
# rev: 24.8.0
# hooks:
# - id: black
# language_version: python3
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.11
hooks:
- id: ruff
args: [--fix, --unsafe-fixes]
- id: ruff-format
- repo: local
hooks:
- id: mypy
name: mypy type checking
entry: python -m mypy garminconnect tests
types: [python]
language: system
pass_filenames: false