mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-02-15 10:35:15 +00:00
Replace pylint with a hook and update hook versions
This commit is contained in:
parent
51cc447508
commit
8a0ea5af42
1 changed files with 5 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.3.0
|
rev: v4.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
types: [file, text]
|
types: [file, text]
|
||||||
|
@ -10,18 +10,15 @@ repos:
|
||||||
- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 22.12.0
|
rev: 23.12.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
types: [python]
|
types: [python]
|
||||||
- repo: local
|
- repo: https://github.com/PyCQA/pylint
|
||||||
|
rev: v3.0.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: pylint
|
- id: pylint
|
||||||
args: ["--rcfile=.pylintrc"]
|
types: [python]
|
||||||
name: Pylint
|
|
||||||
entry: python -m pylint
|
|
||||||
language: system
|
|
||||||
files: \.py$
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: pytest
|
- id: pytest
|
||||||
|
|
Loading…
Reference in a new issue