forked from sickmartian/quick_simplenote
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
60 lines (55 loc) · 1.56 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
54
55
56
57
58
59
60
repos:
- repo: https://github.com/jorisroovers/gitlint
rev: v0.19.1
hooks:
- id: gitlint
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-added-large-files
- id: check-docstring-first
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: requirements-txt-fixer
- id: sort-simple-yaml
- repo: https://github.com/psf/black
rev: 24.2.0
hooks:
- id: black
args: [--config=pyproject.toml]
# args: [--skip-string-normalization]
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
files: "."
args: [--settings-path=pyproject.toml]
# args: [--profile, black, --filter-files]
# - repo: https://github.com/pre-commit/pygrep-hooks
# rev: v1.9.0
# hooks:
# - id: python-check-mock-methods
# - id: python-use-type-annotations
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: "v0.910"
# hooks:
# - id: mypy
# args:
# [
# --ignore-missing-imports,
# --warn-no-return,
# --warn-redundant-casts,
# --disallow-incomplete-defs,
# ]
# additional_dependencies: [types-all]
# - repo: https://github.com/dxa4481/truffleHog.git
# rev: v3.68.5
# hooks:
# - id: trufflehog
# args: ["--regex", "--entropy=False"]