Skip to content
Snippets Groups Projects
Commit ea781ac9 authored by Moul's avatar Moul
Browse files

[enh] #292: Introduce pylint pre-commit hook and job

parent 47e32b15
No related branches found
No related tags found
1 merge request!215#292: Introduce pylint
......@@ -70,6 +70,14 @@ mypy:
script:
- pre-commit run -a mypy
pylint:
extends:
- .code_changes
- .pre-commit
stage: checks
script:
- pre-commit run -a pylint
pyupgrade:
extends:
- .code_changes
......
......@@ -26,6 +26,10 @@ repos:
args:
- "--install-types"
- "--non-interactive"
- repo: https://github.com/PyCQA/pylint
rev: v2.14.1
hooks:
- id: pylint
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.1
hooks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment