forked from Open-Streaming-Platform/open-streaming-platform
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
41 lines (41 loc) · 1.12 KB
/
.pre-commit-config.yaml
File metadata and controls
41 lines (41 loc) · 1.12 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
41
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: check-added-large-files
- id: check-json
- id: check-ast
- id: detect-private-key
- id: mixed-line-ending
- id: requirements-txt-fixer
- id: check-builtin-literals
- repo: https://github.com/kontrolilo/kontrolilo
rev: v2.1.0
hooks:
- id: license-check-configuration-lint
- id: license-check-pipenv
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/Lucas-C/pre-commit-hooks-safety
rev: v1.2.4
hooks:
- id: python-safety-dependencies-check
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
hooks:
- id: bandit
- repo: local
hooks:
- id: custom-script-file
name: build-docker-files
entry: ./build-docker-directory.sh
language: script