forked from predict-idlab/pyRDF2Vec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
63 lines (57 loc) · 1.75 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
---
repos:
- repo: https://github.com/psf/black
rev: 20.8b1
hooks:
- id: black
name: Check code formatting (black)
language_version: python3
exclude: rdflib_web
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9
hooks:
- id: flake8
name: Check code formatting (flake8)
exclude: rdflib_web
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.4.2
hooks:
- id: isort
name: Check the order of your imports (isort)
additional_dependencies: [toml]
exclude: rdflib_web
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.782
hooks:
- id: mypy
- repo: https://github.com/PyCQA/doc8
rev: 0.8.1rc2
hooks:
- id: doc8
name: Checks the style of the documentation (doc8)
args: [--max-line-length, "100"]
exclude: rdflib_web
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.24.2
hooks:
- id: yamllint
name: Check YAML syntax (yamllint)
args: [--strict]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-ast
name: Check whether files parse a valid Python (check-ast)
- id: check-docstring-first
name: Check the docstring placement (check-docstring-first)
exclude: rdflib_web
- id: check-toml
name: Check the TOML syntax (check-toml)
- id: check-yaml
name: Check the YAML syntax (check-yaml)
- id: debug-statements
name: Check for debugger imports and breakpoints (debug-statements)
- id: end-of-file-fixer
name: Fix end of files (end-of-file-fixer)
- id: trailing-whitespace
name: Trim trailing whitespace (trailing-whitespace)