-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
40 lines (40 loc) · 1.13 KB
/
.pre-commit-config.yaml
File metadata and controls
40 lines (40 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# See https://pre-commit.com for more information
exclude: 'alembic' # For now exclude migrations and just check standard code
repos:
- repo: https://github.com/PyCQA/flake8
rev: '6.0.0'
hooks:
- id: flake8
# Required to make flake8 read fdrom pyproject.toml for now :(
additional_dependencies: ["flake8-pyproject"]
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py311-plus]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: [--filter-files]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.19.1
hooks:
- id: mypy
language_version: "3.11"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
exclude: populate/populate.sql
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- repo: https://github.com/wazo-platform/wazo-git-hooks
rev: 1.1.1
hooks:
- id: wazo-copyright-check