mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
`isort` is failing in pre-commit.ci right now, so this might be good timing. See: https://whynothugo.nl/journal/2023/01/20/notes-on-ruff/
28 lines
754 B
YAML
28 lines
754 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
args: [--markdown-linebreak-ext=md]
|
|
- id: end-of-file-fixer
|
|
- id: check-toml
|
|
- id: check-added-large-files
|
|
- id: debug-statements
|
|
- repo: https://github.com/psf/black
|
|
rev: "22.10.0"
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: "v0.991"
|
|
hooks:
|
|
- id: mypy
|
|
files: vdirsyncer/.*
|
|
additional_dependencies:
|
|
- types-setuptools
|
|
- types-docutils
|
|
- types-requests
|
|
- types-atomicwrites
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
rev: 'v0.0.237'
|
|
hooks:
|
|
- id: ruff
|