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

28 lines
700 B
YAML
Raw Permalink 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.6.0
2021-03-12 16:34:46 +00:00
hooks:
- id: check-added-large-files
- id: check-ast
- id: check-case-conflict
- id: check-docstring-first
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/astral-sh/ruff-pre-commit
rev: v0.5.0
2021-03-12 16:34:46 +00:00
hooks:
- id: ruff
- id: ruff-format
args: ["--check"]