diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2020-10-04 16:08:43 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2020-10-04 16:08:43 +0200 |
commit | f745ce94f71c16927b7ddb91986d6c026c21e7ba (patch) | |
tree | 8201a1fb93c81d89407cdbfc022e0c3654c38357 /.pre-commit-config.yaml | |
download | freestyle-hid-f745ce94f71c16927b7ddb91986d6c026c21e7ba.tar freestyle-hid-f745ce94f71c16927b7ddb91986d6c026c21e7ba.tar.gz freestyle-hid-f745ce94f71c16927b7ddb91986d6c026c21e7ba.tar.bz2 freestyle-hid-f745ce94f71c16927b7ddb91986d6c026c21e7ba.tar.lz freestyle-hid-f745ce94f71c16927b7ddb91986d6c026c21e7ba.tar.xz freestyle-hid-f745ce94f71c16927b7ddb91986d6c026c21e7ba.tar.zst freestyle-hid-f745ce94f71c16927b7ddb91986d6c026c21e7ba.zip |
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..d2e03ea --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,29 @@ +# SPDX-FileCopyrightText: 2013 The freestyle-hid Authors +# +# SPDX-License-Identifier: 0BSD + +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v3.2.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace +- repo: https://github.com/PyCQA/isort + rev: 5.5.1 + hooks: + - id: isort + additional_dependencies: + - toml +- repo: https://github.com/psf/black + rev: 20.8b1 + hooks: + - id: black +- repo: https://gitlab.com/pycqa/flake8 + rev: 3.8.3 + hooks: + - id: flake8 +- repo: https://github.com/fsfe/reuse-tool + rev: latest + hooks: + - id: reuse |