Skip to content

Commit a8815bb

Browse files
authored
Merge pull request #204 from dherrada/fixing-pre-commit
Added pre-commit config file
2 parents 884ac0d + 3f427fa commit a8815bb

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
From f61829b736156f06e88125a150428bd11aa146df Mon Sep 17 00:00:00 2001
2+
From: dherrada <[email protected]>
3+
Date: Mon, 11 Jan 2021 16:06:47 -0500
4+
Subject: [PATCH] Added pre-commit-config file
5+
6+
---
7+
.pre-commit-config.yaml | 19 +++++++++++++++++++
8+
1 file changed, 19 insertions(+)
9+
create mode 100644 .pre-commit-config.yaml
10+
11+
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
12+
new file mode 100644
13+
index 0000000..aab5f1c
14+
--- /dev/null
15+
+++ b/.pre-commit-config.yaml
16+
@@ -0,0 +1,19 @@
17+
+# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
18+
+#
19+
+# SPDX-License-Identifier: Unlicense
20+
+
21+
+repos:
22+
+- repo: https://github.com/python/black
23+
+ rev: stable
24+
+ hooks:
25+
+ - id: black
26+
+- repo: https://github.com/fsfe/reuse-tool
27+
+ rev: latest
28+
+ hooks:
29+
+ - id: reuse
30+
+- repo: https://github.com/pre-commit/pre-commit-hooks
31+
+ rev: v2.3.0
32+
+ hooks:
33+
+ - id: check-yaml
34+
+ - id: end-of-file-fixer
35+
+ - id: trailing-whitespace
36+
--
37+
2.25.1
38+

0 commit comments

Comments
 (0)