share-post/.pre-commit-config.yaml

37 lines
847 B
YAML
Raw Normal View History

2021-05-04 05:26:23 -05:00
---
ci:
autoupdate_schedule: quarterly
2021-03-12 16:34:46 +00:00
# See https://pre-commit.com/hooks.html for info on hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
2021-03-12 16:34:46 +00:00
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-case-conflict
2021-05-04 05:26:23 -05:00
- id: check-merge-conflict
2021-03-12 16:34:46 +00:00
- id: check-toml
- id: check-yaml
- id: debug-statements
- id: detect-private-key
- id: end-of-file-fixer
2021-05-04 05:26:23 -05:00
- id: forbid-new-submodules
2021-03-12 16:34:46 +00:00
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.3.0
2021-03-12 16:34:46 +00:00
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
2021-03-12 16:34:46 +00:00
hooks:
- id: flake8
args: [--max-line-length=88]
2021-05-04 08:08:46 +01:00
language_version: python3
2021-03-12 16:34:46 +00:00
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
2021-03-12 16:34:46 +00:00
hooks:
- id: isort