-
Notifications
You must be signed in to change notification settings - Fork 5
/
.pre-commit-config.yaml
41 lines (41 loc) · 1.07 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
# This file was automatically generated by pre-commit config checker
# More info : https://gitlab.com/xxii-group/tools-libraries/tools/tools_python/pythonlib-gitlab-ci-helper
# Template used : experimental.yaml
# Rev number : 0.9.0
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: ^.*\.cache/|^.*\.egg-info/
- id: check-merge-conflict
- id: check-case-conflict
- id: check-json
- id: check-toml
- id: check-ast
- id: debug-statements
- id: check-yaml
exclude: .gitlab-ci.yml
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.280
hooks:
- id: ruff
args:
- --fix
- --exit-non-zero-on-fix
- --target-version=py311
- --extend-select=UP,I
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black
args:
- --preview
- id: black-jupyter
args:
- --preview
# - repo: git@gitlab.com:xxii-group/tools-libraries/tools/tools_devops/tools_ci/pre-commit-pyright
# rev: 1.1.305
# hooks:
# - id: pyright