Debian Codegraph @

testing/web-platform/tests/tools/third_party/packaging/.pre-commit-config.yaml

raw
1 repos:
2 - repo: https://github.com/pre-commit/pre-commit-hooks
3 rev: v3.4.0
4 hooks:
5 - id: check-toml
6 - id: check-yaml
7 - id: end-of-file-fixer
8 - id: trailing-whitespace
9
10 - repo: https://github.com/pre-commit/mirrors-mypy
11 rev: v0.812
12 hooks:
13 - id: mypy
14 exclude: '^(docs|tasks|tests)|setup\.py'
15 args: []
16
17 - repo: https://github.com/asottile/pyupgrade
18 rev: v2.29.0
19 hooks:
20 - id: pyupgrade
21 args: [--py36-plus]
22
23 - repo: https://github.com/psf/black
24 rev: 20.8b1
25 hooks:
26 - id: black
27
28 - repo: https://github.com/PyCQA/isort
29 rev: 5.8.0
30 hooks:
31 - id: isort
32
33 - repo: https://gitlab.com/PyCQA/flake8
34 rev: "3.9.0"
35 hooks:
36 - id: flake8
37 additional_dependencies: ["pep8-naming"]
38 # Ignore all format-related checks as Black takes care of those.
39 args: ["--ignore", "E2,W5", "--select", "E,W,F,N"]