/ .pre-commit-config.yaml
.pre-commit-config.yaml
1 # SPDX-FileCopyrightText: 2020 Diego Elio Pettenò 2 # 3 # SPDX-License-Identifier: Unlicense 4 5 repos: 6 - repo: https://github.com/psf/black 7 rev: 22.8.0 8 hooks: 9 - id: black 10 - repo: https://github.com/pre-commit/pre-commit-hooks 11 rev: v4.3.0 12 hooks: 13 - id: check-yaml 14 - id: end-of-file-fixer 15 exclude: tests 16 - id: trailing-whitespace 17 exclude: tests 18 - repo: https://github.com/fsfe/reuse-tool 19 rev: v1.0.0 20 hooks: 21 - id: reuse 22 - repo: local 23 hooks: 24 - id: pylint 25 name: pylint 26 entry: pylint 27 language: python 28 types: [python] 29 additional_dependencies: [beautifulsoup4, click, dataclasses-json, "pylint==2.13.5", requests] 30 - repo: https://github.com/pycqa/isort 31 rev: 5.10.1 32 hooks: 33 - id: isort 34 name: isort (python) 35 args: ['--profile', 'black']