forked from commit-check/commit-check
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
46 lines (45 loc) · 1.21 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
46 lines (45 loc) · 1.21 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
42
43
44
45
46
# https://pre-commit.com/
ci:
autofix_commit_msg: 'ci: auto fixes from pre-commit.com hooks'
autoupdate_commit_msg: 'ci: pre-commit autoupdate'
skip: [pytest]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-yaml
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: name-tests-test
- id: requirements-txt-fixer
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8
args: [--max-line-length=100, --ignore=E501]
exclude: ^commit_check/__init__.py
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.2.0
hooks:
- id: mypy
additional_dependencies: [types-all]
exclude: ^testing/resources/
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell
- repo: https://github.com/commit-check/commit-check
rev: v0.5.6
hooks:
- id: check-message
- id: check-branch
- id: check-author-email
- repo: local
hooks:
- id: pytest
name: pytest
entry: pytest
language: system
pass_filenames: false
always_run: true