Use PDM & Ruff instead of Poetry+Black+Flake8+isort

This commit is contained in:
Justin Mayer 2024-07-03 22:45:20 +02:00
commit d7c2f2bf1f
6 changed files with 168 additions and 156 deletions

View file

@ -10,6 +10,7 @@ repos:
- id: check-added-large-files
- id: check-ast
- id: check-case-conflict
- id: check-docstring-first
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
@ -19,19 +20,9 @@ repos:
- id: forbid-new-submodules
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.4.2
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 7.1.0
hooks:
- id: flake8
args: [--max-line-length=88]
language_version: python3
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
- id: ruff
- id: ruff-format
args: ["--check"]