Files
visual_critical_discourse_a…/.pre-commit-config.yaml
T
2024-10-19 19:08:51 +00:00

62 lines
1.6 KiB
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: debug-statements
- id: double-quote-string-fixer
- id: name-tests-test
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.5.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1
hooks:
- id: isort
language_version: python3.10
args: [ --tc ]
- repo: https://github.com/asottile/add-trailing-comma
rev: v3.1.0
hooks:
- id: add-trailing-comma
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.1
hooks:
- id: pyupgrade
args: [--py39-plus]
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
hooks:
- id: flake8
entry: pflake8
additional_dependencies:
- "pyproject-flake8"
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
hooks:
- id: mypy
exclude: ^testing/resources/
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
language_version: python3.12
args: [ --skip-string-normalization ]
- repo: https://github.com/myint/docformatter
rev: v1.5.0
hooks:
- id: docformatter
name: docformatter
description: 'Formats docstrings to follow PEP 257.'
entry: docformatter
language: python
types: [ python ]
- repo: https://github.com/jendrikseipp/vulture
rev: 'v2.6'
hooks:
- id: vulture
entry: vulture . --min-confidence 90 --exclude */.venv/*.py