forked from strangetom/ingredient-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
38 lines (38 loc) · 960 Bytes
/
.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
---
# 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
hooks:
- id: check-added-large-files
stages: [commit]
- id: check-ast
stages: [commit]
- id: check-toml
stages: [commit]
- id: check-yaml
stages: [commit]
- id: debug-statements
stages: [commit]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.5
hooks:
- id: ruff
args: ["--fix"]
stages: [commit]
- id: ruff-format
stages: [commit]
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v0.9.1
hooks:
- id: sphinx-lint
stages: [commit]
- repo: local
hooks:
- id: pytest-check
name: pytest-check
entry: coverage run -m pytest
stages: [push]
language: system
pass_filenames: false
always_run: true