pre-commit.com provides a way to configure pre-commit hooks for multiple tools, including `reuse lint` (configured here), isort, black, and more. In addition to `reuse lint`, enable basic whitespace management and YAML checks. Note that `black` is not usable with this repository because it cannot parse the template `.py` files. Use the pre-commit provided GitHub action as part of the CI, for ease of maintenance.
5 lines
156 B
YAML
5 lines
156 B
YAML
# SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries
|
|
#
|
|
# SPDX-License-Identifier: Unlicense
|
|
|
|
requirements_file: requirements.txt
|