forked from EOSC-synergy/sqaaas-reporting-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
36 lines (35 loc) · 1010 Bytes
/
.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
# SPDX-FileCopyrightText: Copyright contributors to the Software Quality Assurance as a Service (SQAaaS) project <[email protected]>
# SPDX-FileContributor: 2017-2024 Pablo Orviz <[email protected]>
# SPDX-FileContributor: Pablo Orviz <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-only
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.12.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
- repo: https://github.com/pycqa/flake8
rev: 3.7.9
hooks:
- id: flake8
args: ['config=setup.cfg']
- repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
hooks:
- id: docformatter
args: [--in-place, --config, ./setup.cfg]
- repo: https://github.com/fsfe/reuse-tool
rev: v1.0.0
hooks:
- id: reuse