mirror of
https://github.com/pelican-plugins/share-post.git
synced 2025-10-15 17:08:54 +02:00
Use PDM & Ruff instead of Poetry+Black+Flake8+isort
This commit is contained in:
parent
ff43fa4542
commit
d7c2f2bf1f
6 changed files with 168 additions and 156 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue