-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.pre-commit-config.yaml
52 lines (47 loc) · 1.21 KB
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
default_language_version:
python: python3.8
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: check-builtin-literals
- id: check-ast
- id: check-json
- id: detect-private-key
- id: requirements-txt-fixer
- repo: https://github.com/psf/black
rev: '24.2.0'
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: '5.13.2'
hooks:
- id: isort
args: [--profile=black]
- repo: local
hooks:
- id: readmegen
name: readmegen
description: >-
Script to automatically generate readme.md
entry: python ./.utils/utils.py makereadme
language: python
additional_dependencies:
- babel~=2.9.0
- tabulate~=0.8.9
- click
always_run: true
pass_filenames: false
require_serial: true
verbose: true
ci:
autofix_commit_msg: |
[pre-commit.ci] auto fixes from pre-commit.com hooks.
autofix_prs: true
autoupdate_branch: "master"
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
autoupdate_schedule: weekly
skip: []
submodules: false