diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2023-08-03 10:26:19 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2023-08-03 10:26:19 +0200 |
commit | e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e (patch) | |
tree | 2f69f3774cacf41e01bf9afd1518e993063f4cae /.pre-commit-config.yaml | |
download | freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar.gz freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar.bz2 freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar.lz freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar.xz freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar.zst freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.zip |
Diffstat (limited to '')
-rw-r--r-- | .pre-commit-config.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..9dc76a1 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,25 @@ +# SPDX-FileCopyrightText: 2013 The freestyle-hid Authors +# +# SPDX-License-Identifier: 0BSD + +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace +- repo: https://github.com/PyCQA/isort + rev: 5.12.0 + hooks: + - id: isort + additional_dependencies: + - toml +- repo: https://github.com/psf/black + rev: 23.7.0 + hooks: + - id: black +- repo: https://github.com/pycqa/flake8 + rev: 6.1.0 + hooks: + - id: flake8 |