forked from MissouriMRR/SUAS-2023
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
51 lines (47 loc) · 1.32 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
ci:
autoupdate_schedule: monthly
skip: [pylint]
repos:
- repo: https://github.com/psf/black
rev: 24.1.1
hooks:
- id: black
additional_dependencies: ['click<8.1']
language_version: python3.10
args:
["--line-length=100"]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 # Use the ref you want to point at
hooks:
- id: check-json
- id: check-xml
- id: check-yaml
- id: check-toml
- id: check-added-large-files
- id: check-merge-conflict
- id: check-case-conflict
- id: trailing-whitespace
- id: end-of-file-fixer
- id: mixed-line-ending
args: ["--fix=lf"]
description: Forces line endings to the UNIX LF character
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.8.0'
hooks:
- id: mypy
args: ["--config-file=.mypy.ini"]
additional_dependencies: ['numpy>=1.21.2']
- repo: https://github.com/PyCQA/pylint
rev: 'v3.0.3'
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
args:
[
# "-rn", # only display messages
# "-sn", # don't display the score
"--rcfile=.pylintrc", # link to config file
]