1 # SPDX-FileCopyrightText: 2022 Adafruit
3 # SPDX-License-Identifier: Unlicense
6 - repo: https://github.com/python/black
10 additional_dependencies: ['click==8.0.4']
11 - repo: https://github.com/fsfe/reuse-tool
15 - repo: https://github.com/pre-commit/pre-commit-hooks
19 - id: end-of-file-fixer
20 - id: trailing-whitespace
21 - repo: https://github.com/pycqa/pylint
25 name: pylint (library code)
29 - --disable=consider-using-f-string,duplicate-code
31 name: pylint (example code)
32 description: Run pylint rules on "examples/*.py" files
36 - --disable=missing-docstring,invalid-name,consider-using-f-string,duplicate-code
38 name: pylint (test code)
39 description: Run pylint rules on "tests/*.py" files
43 - --disable=missing-docstring,consider-using-f-string,duplicate-code