.pre-commit-config.yaml (650B)
1 repos: 2 - repo: https://github.com/pre-commit/pre-commit-hooks 3 rev: v4.6.0 4 hooks: 5 - id: trailing-whitespace 6 - id: end-of-file-fixer 7 - id: check-yaml 8 - id: check-json 9 - id: check-toml 10 - id: check-merge-conflict 11 - id: check-added-large-files 12 args: ['--maxkb=1000'] 13 - id: debug-statements 14 - id: check-docstring-first 15 16 - repo: https://github.com/psf/black 17 rev: 24.1.1 18 hooks: 19 - id: black 20 language_version: python3 21 22 - repo: https://github.com/astral-sh/ruff-pre-commit 23 rev: v0.2.1 24 hooks: 25 - id: ruff 26 args: [--fix, --exit-non-zero-on-fix]