Files
qdrant-client/.pre-commit-config.yaml
Andrey Vasnetsov 8556cc86d6 Drop black (#623)
* replace black with ruff

* use line length

* remove isort

* regen async

* regen async

* fix ruff version [no-ci]
2024-05-07 20:47:27 +02:00

26 lines
682 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3.10
exclude: 'qdrant_client/(grpc|http|models)/'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.3
hooks:
# ToDo: re-introduce ruff linter later
# - id: ruff
# types_or: [ python, pyi ]
# args: [ --fix ]
- id: ruff-format
types_or: [ python, pyi ]
args: [ --line-length=99 ]