mirror of
https://github.com/qdrant/qdrant-client.git
synced 2026-07-23 11:11:01 -05:00
* replace black with ruff * use line length * remove isort * regen async * regen async * fix ruff version [no-ci]
26 lines
682 B
YAML
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 ]
|