-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
51 lines (51 loc) · 1.44 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
repos:
- repo: https://github.com/uktrade/pii-secret-check-hooks
rev: 0.0.0.35
hooks:
- id: pii_secret_filename
files: ""
language: python
language_version: python3.10
pass_filenames: true
require_serial: true
- id: pii_secret_file_content
files: ""
language: python
language_version: python3.10
pass_filenames: true
require_serial: true
- id: pii_secret_file_content_ner
files: ""
language: python
language_version: python3.10
# args: [--ner_output_file=ner_output_file.txt] # uncomment to output NER entities
pass_filenames: true
require_serial: true
- id: hooks_version_check
name: Checking local hooks against latest release
verbose: true
require_serial: true
- repo: https://github.com/ambv/black
rev: 23.3.0
hooks:
- id: black
language_version: python3.10
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/Riverside-Healthcare/djLint
rev: v1.30.2
hooks:
- id: djlint-reformat-django
- id: djlint-django
- repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
hooks:
- id: detect-secrets
args: ["--baseline", ".secrets.baseline"]
exclude: package.lock.json