-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
53 lines (53 loc) · 1.42 KB
/
.pre-commit-config.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: check-merge-conflict
- id: check-json
- id: end-of-file-fixer
- id: check-added-large-files
args: ['--maxkb=600']
- repo: https://github.com/timothycrosley/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
- repo: local
hooks:
- id: flakeheaven
name: flakeheaven
description: "`FlakeHeaven` it's a Flake8 wrapper to make it cools."
entry: flakeheaven
args: [lint]
language: python
types: [python]
require_serial: true
additional_dependencies: [
'flake8~=4.0.1',
'flakeheaven~=3.0.0',
'flake8-builtins~=1.5.3',
'flake8-blind-except~=0.2.1',
'flake8-logging-format~=0.7.5',
'flake8-bugbear~=22.7.1',
'flake8-annotations~=2.9.1',
'flake8-docstrings~=1.6.0',
'flake8-bandit~=3.0.0',
'darglint~=1.8.0',
'pylint~=2.14.5',
]
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.28.0
hooks:
- id: yamllint
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v6.8.0
hooks:
- id: ansible-lint
files: \.(yaml|yml)$