summaryrefslogblamecommitdiffstats
path: root/.pre-commit-config.yaml
blob: d2e03ea634032810b660a7b4fa7c5741a15d0834 (plain) (tree)




























                                                        
# 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