Skip to content

Commit

Permalink
Added pre-commit-config file
Browse files Browse the repository at this point in the history
Signed-off-by: dherrada <[email protected]>
  • Loading branch information
evaherrada committed Jan 11, 2021
1 parent a875c6a commit 52a0afa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
#
# SPDX-License-Identifier: Unlicense

repos:
- repo: https://github.com/python/black
rev: stable
hooks:
- id: black
- repo: https://github.com/fsfe/reuse-tool
rev: latest
hooks:
- id: reuse
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace

0 comments on commit 52a0afa

Please sign in to comment.