chore: pre-commit config for python
This commit is contained in:
11
.lint/pylint/.pylintrc
Normal file
11
.lint/pylint/.pylintrc
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[BASIC]
|
||||||
|
|
||||||
|
good-names=i,j,k,ex,Run,_,pk,x,y
|
||||||
|
|
||||||
|
[FORMAT]
|
||||||
|
|
||||||
|
max-line-length=121
|
||||||
|
|
||||||
|
[MESSAGES CONTROL]
|
||||||
|
|
||||||
|
disable=import-error,logging-fstring-interpolation,missing-module-docstring,missing-function-docstring,missing-class-docstring,duplicate-code
|
||||||
@@ -14,4 +14,12 @@ repos:
|
|||||||
- id: renovate-config-validator
|
- id: renovate-config-validator
|
||||||
args: ["--strict"]
|
args: ["--strict"]
|
||||||
language_version: 20.18.0 # workaround till https://github.com/renovatebot/pre-commit-hooks/issues/2460 is fixed
|
language_version: 20.18.0 # workaround till https://github.com/renovatebot/pre-commit-hooks/issues/2460 is fixed
|
||||||
|
- repo: https://github.com/PyCQA/pylint
|
||||||
|
rev: v3.3.6
|
||||||
|
hooks:
|
||||||
|
- id: pylint
|
||||||
|
args:
|
||||||
|
[
|
||||||
|
"--rcfile=.lint/pylint/.pylintrc"
|
||||||
|
]
|
||||||
...
|
...
|
||||||
|
|||||||
Reference in New Issue
Block a user