summaryrefslogblamecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 58a412c6523dcd5bf6bd330790d440c6fc5ae0e2 (plain) (tree)
1
2
3
4
5
6
7





                                                        
               




                                        
              




                                      
               


                                         
              


                                            
                

               
# SPDX-FileCopyrightText: 2013 The freestyle-hid Authors
#
# SPDX-License-Identifier: 0BSD

repos:
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.0.0
    hooks:
    -   id: check-yaml
    -   id: end-of-file-fixer
    -   id: trailing-whitespace
-   repo: https://github.com/PyCQA/isort
    rev: 5.8.0
    hooks:
      - id: isort
        additional_dependencies:
          - toml
-   repo: https://github.com/psf/black
    rev: 21.5b1
    hooks:
    - id: black
-   repo: https://gitlab.com/pycqa/flake8
    rev: 3.9.2
    hooks:
    - id: flake8
-   repo: https://github.com/fsfe/reuse-tool
    rev: v0.12.1
    hooks:
    - id: reuse