forked from icosa-foundation/open-brush
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
38 lines (38 loc) · 1.03 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
---
repos:
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.17.0
hooks:
- id: yamllint
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
files: ^Support/
language_version: python3
- repo: https://github.com/pycqa/flake8
rev: 3.9.0
hooks:
- id: flake8
files: ^Support/
- repo: https://github.com/PyCQA/pylint.git
rev: v2.15.5
hooks:
- id: pylint
name: pylint
files: ^Support/
language_version: python3
additional_dependencies:
- typing_extensions
args:
- --load-plugins=pylint.extensions.redefined_variable_type,pylint.extensions.bad_builtin
- --disable=import-error
- repo: https://github.com/dotnet/format
rev: "a2c1431dabf2229052cf598f86f31bc3eac5bc7b" # Main as of 2022-12-05
hooks:
- id: dotnet-format
exclude: ^(Assets/ThirdParty)|(Packages/)
entry: dotnet-format whitespace
args:
- --folder
- --include