2021-08-06 15:37:45 +02:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: check-ast
|
|
|
|
- id: check-json
|
|
|
|
- id: check-toml
|
|
|
|
- id: check-xml
|
|
|
|
- id: check-yaml
|
|
|
|
- id: end-of-file-fixer
|
2021-08-21 10:44:33 +02:00
|
|
|
exclude: ^data/(curated|raw)_data
|
2021-08-06 15:37:45 +02:00
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: pretty-format-json
|
|
|
|
args:
|
|
|
|
- --autofix
|
|
|
|
- --no-sort-keys
|
2021-08-21 10:44:33 +02:00
|
|
|
exclude: ^data/(curated|raw)_data
|
2021-08-06 15:37:45 +02:00
|
|
|
- id: trailing-whitespace
|
|
|
|
args:
|
|
|
|
- --markdown-linebreak-ext=md
|
2021-08-21 09:48:15 +02:00
|
|
|
- repo: https://github.com/golangci/golangci-lint
|
|
|
|
rev: v1.42.0
|
|
|
|
hooks:
|
|
|
|
- id: golangci-lint
|
2021-08-21 10:44:33 +02:00
|
|
|
- repo: https://github.com/TekWizely/pre-commit-golang
|
|
|
|
rev: v1.0.0-beta.4
|
|
|
|
hooks:
|
|
|
|
- id: go-fumpt
|
|
|
|
args:
|
|
|
|
- -w
|
2021-08-21 09:48:15 +02:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2021-08-06 15:41:41 +02:00
|
|
|
rev: 5.9.3
|
2021-08-06 15:37:45 +02:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
- repo: https://github.com/psf/black
|
2021-08-06 15:41:41 +02:00
|
|
|
rev: 21.7b0
|
2021-08-06 15:37:45 +02:00
|
|
|
hooks:
|
|
|
|
- id: black
|