svthalia/concrexit

View on GitHub
.pre-commit-config.yaml

Summary

Maintainability
Test Coverage
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.4.0
  hooks:
  - id: check-ast
  - id: check-merge-conflict
  - id: trailing-whitespace
    args: [--markdown-linebreak-ext=md]
    exclude: .*/static/.*
  - id: end-of-file-fixer
    exclude: .*/static/.*
  - id: debug-statements
  - id: mixed-line-ending
    args: [--fix=lf]
  - id: name-tests-test
    args: [--django]
    exclude: .*/__mocks__.py
- repo: https://github.com/PyCQA/isort
  rev: "5.12.0"
  hooks:
  - id: isort
- repo: https://github.com/psf/black
  rev: "23.9.1"
  hooks:
  - id: black
    exclude: .*/migrations/.*
- repo: https://github.com/charliermarsh/ruff-pre-commit
  rev: "v0.0.291"
  hooks:
  - id: ruff
- repo: https://github.com/python-poetry/poetry
  rev: "1.8.2"
  hooks:
    - id: poetry-check