-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pre-commit-config.yaml
40 lines (40 loc) · 1.06 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
repos:
- hooks:
- id: trailing-whitespace
- id: check-toml
- id: fix-byte-order-marker
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: detect-private-key
- id: forbid-submodules
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
- hooks:
- entry: poetry run mypy tap_airtable
id: mypy
language: system
name: mypy
pass_filenames: false
repo: local
- hooks:
- id: detect-secrets
repo: https://github.com/Yelp/detect-secrets
rev: v1.4.0
- hooks:
- entry: poetry run ruff check --fix tap_airtable
id: ruff
language: system
name: ruff tap_airtable
pass_filenames: false
repo: local
- hooks:
- id: commitizen
- id: commitizen-branch
args: ["--rev-range", "master..HEAD"]
stages:
- push
repo: https://github.com/commitizen-tools/commitizen
rev: v3.26.0