1 # SPDX-FileCopyrightText: 2022 Adafruit
3 # SPDX-License-Identifier: Unlicense
6 - repo: https://github.com/python/black
10 - repo: https://github.com/fsfe/reuse-tool
14 - repo: https://github.com/pre-commit/pre-commit-hooks
18 - id: end-of-file-fixer
19 - id: trailing-whitespace
20 - repo: https://github.com/pycqa/pylint
24 name: pylint (library code)
28 - --disable=consider-using-f-string,duplicate-code
30 name: pylint (example code)
31 description: Run pylint rules on "examples/*.py" files
35 - --disable=missing-docstring,invalid-name,consider-using-f-string,duplicate-code
37 name: pylint (test code)
38 description: Run pylint rules on "tests/*.py" files
42 - --disable=missing-docstring,consider-using-f-string,duplicate-code