Debian Codegraph @

.pre-commit-config.yaml

raw
1 repos:
2 - repo: https://github.com/pre-commit/pre-commit-hooks
3 rev: v4.5.0
4 hooks:
5 - id: check-ast
6 - id: check-builtin-literals
7 - id: check-docstring-first
8 - id: check-merge-conflict
9 - id: check-yaml
10 - id: check-toml
11 - id: debug-statements
12 - id: end-of-file-fixer
13 - id: trailing-whitespace
14 - repo: https://github.com/asottile/pyupgrade
15 rev: v3.15.0
16 hooks:
17 - id: pyupgrade
18 args: [ "--py37-plus" ]
19 - repo: https://github.com/PyCQA/isort
20 rev: 5.13.0
21 hooks:
22 - id: isort
23 - repo: https://github.com/psf/black
24 rev: 23.11.0
25 hooks:
26 - id: black
27 args: [ --safe ]
28 - repo: https://github.com/asottile/blacken-docs
29 rev: 1.16.0
30 hooks:
31 - id: blacken-docs
32 additional_dependencies: [ black==23.11 ]
33 - repo: https://github.com/tox-dev/pyproject-fmt
34 rev: "1.5.3"
35 hooks:
36 - id: pyproject-fmt
37 additional_dependencies: ["tox>=4.11.4"]
38 - repo: https://github.com/tox-dev/tox-ini-fmt
39 rev: "1.3.1"
40 hooks:
41 - id: tox-ini-fmt
42 args: [ "-p", "fix" ]
43 - repo: https://github.com/PyCQA/flake8
44 rev: 6.1.0
45 hooks:
46 - id: flake8
47 additional_dependencies:
48 - flake8-bugbear==23.12.2
49 - flake8-comprehensions==3.14
50 - flake8-pytest-style==1.7.2
51 - flake8-unused-arguments==0.0.13
52 - flake8-noqa==1.3.2
53 - pep8-naming==0.13.3
54 - repo: https://github.com/pre-commit/mirrors-mypy
55 rev: v1.7.1
56 hooks:
57 - id: mypy
58 exclude: ui-tests-ipw[78]\/.*
59 additional_dependencies:
60 - "pandas-stubs>=2.1.1.230928"
61 - "types-Pygments>=2.17"
62 - "types-colorama>=0.4.15.12"
63 - "types-setuptools>=69"
64 - repo: https://github.com/codespell-project/codespell
65 rev: v2.2.6
66 hooks:
67 - id: codespell
68 additional_dependencies:
69 - tomli