35 lines
899 B
YAML
35 lines
899 B
YAML
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
|
|
#
|
|
# SPDX-License-Identifier: Unlicense
|
|
|
|
repos:
|
|
- repo: https://github.com/python/black
|
|
rev: 22.8.0
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.3.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
exclude: tests
|
|
- id: trailing-whitespace
|
|
exclude: tests
|
|
- repo: https://github.com/fsfe/reuse-tool
|
|
rev: v1.0.0
|
|
hooks:
|
|
- id: reuse
|
|
- repo: local
|
|
hooks:
|
|
- id: pylint
|
|
name: pylint
|
|
entry: pylint
|
|
language: python
|
|
types: [python]
|
|
additional_dependencies: [beautifulsoup4, "pylint==2.15.3", requests, adafruit-circuitpython-datetime, click, python-dateutil]
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.10.1
|
|
hooks:
|
|
- id: isort
|
|
name: isort (python)
|
|
args: ['--profile', 'black']
|