forked from rlabbe/filterpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
31 lines (31 loc) · 893 Bytes
/
.pre-commit-config.yaml
File metadata and controls
31 lines (31 loc) · 893 Bytes
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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
name: Trailing Whitespace
- id: end-of-file-fixer
name: End of File Fixer
- id: check-yaml
name: Check Yaml
- id: check-added-large-files
name: Check Added Large Files
- repo: local
hooks:
- id: flake8
name: flake8
language: python
entry: .venv/bin/flake8
types: [file, python]
- repo: local
hooks:
- id: black
name: black
entry: .venv/bin/black
language: python
language_version: python3.11
types: [file, python]