mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-19 13:05:52 +00:00
reorder-python-imports is hard to set up correctly. isort is a lot simpler to set to set up it locally, and is kinda becoming the standard in the python world. The import style remains the same, and is tweaked to minimise conflicts.
24 lines
645 B
YAML
24 lines
645 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.0.1
|
|
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://gitlab.com/pycqa/flake8
|
|
rev: "3.9.2"
|
|
hooks:
|
|
- id: flake8
|
|
additional_dependencies: [flake8-import-order, flake8-bugbear]
|
|
- repo: https://github.com/psf/black
|
|
rev: "21.6b0"
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.8.0
|
|
hooks:
|
|
- id: isort
|
|
name: isort (python)
|