Debian Codegraph @

.pre-commit-config.yaml

raw
1 ci:
2 autoupdate_branch: "3.0.x"
3 autoupdate_schedule: monthly
4 repos:
5 - repo: https://github.com/asottile/pyupgrade
6 rev: v3.10.1
7 hooks:
8 - id: pyupgrade
9 args: ["--py38-plus"]
10 - repo: https://github.com/asottile/reorder-python-imports
11 rev: v3.10.0
12 hooks:
13 - id: reorder-python-imports
14 files: "^(?!examples/)"
15 args: ["--py38-plus", "--application-directories", "src"]
16 - repo: https://github.com/psf/black
17 rev: 23.7.0
18 hooks:
19 - id: black
20 args: ["--target-version", "py38"]
21 - repo: https://github.com/PyCQA/flake8
22 rev: 6.1.0
23 hooks:
24 - id: flake8
25 additional_dependencies:
26 - flake8-bugbear
27 - flake8-implicit-str-concat
28 - repo: https://github.com/pre-commit/pre-commit-hooks
29 rev: v4.4.0
30 hooks:
31 - id: fix-byte-order-marker
32 - id: trailing-whitespace
33 - id: end-of-file-fixer