Replace pylint with a hook and update hook versions

This commit is contained in:
Carlos Camara 2024-01-13 16:20:38 +00:00
parent 51cc447508
commit 8a0ea5af42

View file

@ -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