insee_number_translator/.pre-commit-config.yaml

33 lines
804 B
YAML
Raw Normal View History

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
2023-10-08 17:05:11 +02:00
rev: v1.54.2
2021-08-21 09:48:15 +02:00
hooks:
- id: golangci-lint
- 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