Debian Codegraph @

.pre-commit-config.yaml

raw symbols SCIP
1 exclude: (?x)(\.txt)
2 repos:
3 - repo: https://github.com/PyCQA/autoflake
4 rev: v1.7.6
5 hooks:
6 - id: autoflake
7 name: autoflake
8 args: ["--in-place", "--remove-unused-variables", "--remove-all-unused-imports"]
9 language: python
10 files: \.py$
11 - repo: https://github.com/asottile/reorder_python_imports
12 rev: v3.8.5
13 hooks:
14 - id: reorder-python-imports
15 - repo: https://github.com/psf/black
16 rev: 22.10.0
17 hooks:
18 - id: black
19 args: [--safe, --quiet]
20 - repo: https://github.com/asottile/blacken-docs
21 rev: v1.12.1
22 hooks:
23 - id: blacken-docs
24 additional_dependencies: [black==22.8.0]
25 - repo: https://github.com/pre-commit/pre-commit-hooks
26 rev: v4.3.0
27 hooks:
28 - id: trailing-whitespace
29 - id: end-of-file-fixer
30 - id: fix-encoding-pragma
31 args: [--remove]
32 - id: check-yaml
33 exclude: tests
34 - id: check-toml
35 - id: check-json
36 - id: check-merge-conflict
37 - id: pretty-format-json
38 args: [--autofix]
39 - id: debug-statements
40 language_version: python3
41 - repo: https://github.com/PyCQA/flake8
42 rev: 5.0.4
43 hooks:
44 - id: flake8
45 exclude: tests/data
46 language_version: python3
47 additional_dependencies:
48 - flake8-typing-imports==1.9.0
49 - flake8-builtins==1.5.3
50 - flake8-bugbear==20.1.4