-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pre-commit-config.yaml
44 lines (44 loc) · 1.29 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
default_stages: [push]
repos:
- repo: https://github.com/psf/black
rev: 22.8.0
hooks:
- id: black
stages: [commit]
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
hooks:
- id: flake8
stages: [commit]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
stages: [commit]
- id: end-of-file-fixer
stages: [commit]
- id: check-yaml
args: ["--unsafe"]
stages: [commit]
- id: check-added-large-files
- id: check-json
stages: [commit]
- id: requirements-txt-fixer
stages: [commit]
- id: mixed-line-ending
stages: [commit]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
hooks:
- id: markdownlint
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.18.3
hooks:
- id: check-github-workflows
- id: check-jsonschema
files: ^spec/.*\.schema.json$
args: ["--schemafile", "https://specs.frictionlessdata.io/schemas/table-schema.json"]
- id: check-jsonschema
files: ^spec/tides.spec.json$
args: ["--schemafile", "https://specs.frictionlessdata.io/schemas/data-package.json"]