/ .pre-commit-config.yaml
.pre-commit-config.yaml
1 # SPDX-FileCopyrightText: 2020 Diego Elio Pettenò 2 # 3 # SPDX-License-Identifier: Unlicense 4 5 default_language_version: 6 python: python3 7 8 repos: 9 - repo: https://github.com/psf/black 10 rev: 23.1.0 11 hooks: 12 - id: black 13 - repo: https://github.com/pre-commit/pre-commit-hooks 14 rev: v4.4.0 15 hooks: 16 - id: check-yaml 17 - id: end-of-file-fixer 18 exclude: tests 19 - id: trailing-whitespace 20 exclude: tests 21 - repo: https://github.com/fsfe/reuse-tool 22 rev: v1.1.2 23 hooks: 24 - id: reuse 25 - repo: https://github.com/pycqa/pylint 26 rev: v2.17.1 27 hooks: 28 - id: pylint 29 additional_dependencies: [beautifulsoup4, requests, adafruit-circuitpython-datetime, click, python-dateutil, leapseconddata] 30 - repo: https://github.com/pycqa/isort 31 rev: 5.12.0 32 hooks: 33 - id: isort 34 name: isort (python) 35 args: ['--profile', 'black']