This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
forked from MultiQC/MultiQC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
75 lines (71 loc) · 2.27 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# This file contains the [pre-commit](https://pre-commit.com/) configuration of this repository.
# More on which specific pre-commit hooks we use can be found in README.md.
---
minimum_pre_commit_version: "2.9.2"
repos:
- repo: meta
hooks:
- id: identity
- id: check-hooks-apply
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0 # Use the ref you want to point at
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: debug-statements
# - id: name-tests-test
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.3.1
hooks:
- id: remove-crlf
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v2.7.1"
hooks:
- id: prettier
- repo: https://github.com/hadialqattan/pycln
rev: v2.1.2 # Possible releases: https://github.com/hadialqattan/pycln/releases
hooks:
- id: pycln
args: [--config=pyproject.toml]
- repo: local
hooks:
- id: isort
name: iSort - Sorts imports.
description: Sorts your import for you.
entry: isort
language: python
types: [python]
require_serial: true
additional_dependencies:
- isort
- id: black
name: Black - Auto-formatter.
description: Black is the uncompromising Python code formatter. Writing to files.
entry: black
language: python
types: [python]
require_serial: true
additional_dependencies:
- black
# - id: flake8
# name: Flake8 - Enforce code style and doc.
# description: A command-line utility for enforcing style consistency across Python projects.
# entry: flake8
# args: ["--config=.flake8"]
# language: python
# types: [python]
# exclude: ^examples/
# require_serial: true
# additional_dependencies:
# - flake8
# - flake8-docstrings
# - id: mypy
# name: mypy - Static type checking
# description: Mypy helps ensure that we use our functions and variables correctly by checking the types.
# entry: mypy
# language: python
# types: [python]
# exclude: ^examples/
# require_serial: true
# additional_dependencies:
# - mypy