.pre-commit-config.yaml 551 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v2.3.0
    hooks:
    -   id: end-of-file-fixer
    -   id: trailing-whitespace
    -   id: check-yaml
    -   id: check-merge-conflict
    -   id: requirements-txt-fixer
Ruilong Li's avatar
Ruilong Li committed
10
11
12
13
14
15
16
# -   repo: https://github.com/psf/black
#     rev: 22.10.0
#     hooks:
#       - id: black
#         language_version: python3.8.12
#         args: # arguments to configure black
#           - --line-length=80
Ruilong Li's avatar
Ruilong Li committed
17

Ruilong Li's avatar
Ruilong Li committed
18
19
20
21
# -   repo: https://github.com/pycqa/isort
#     rev: 5.10.1
#     hooks:
#       - id: isort