forked from krkn-chaos/cerberus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (27 loc) · 808 Bytes
/
.pre-commit-config.yaml
File metadata and controls
30 lines (27 loc) · 808 Bytes
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
---
repos:
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.1
hooks:
- id: remove-tabs
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
- id: end-of-file-fixer
- id: check-case-conflict
- id: detect-private-key
- id: check-ast
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
args: ['--line-length', '120']
- repo: https://github.com/PyCQA/flake8
rev: '3.7.8'
hooks:
- id: flake8
additional_dependencies: ['pep8-naming']
# Ignore all format-related checks as Black takes care of those.
args: ['--ignore', 'E123,E125,W503', '--select', 'E,W,F', '--max-line-length=120']