diff --git a/.lint/pylint/.pylintrc b/.lint/pylint/.pylintrc new file mode 100644 index 0000000..2b5d0b4 --- /dev/null +++ b/.lint/pylint/.pylintrc @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3693617..2918ba3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,4 +14,12 @@ repos: - id: renovate-config-validator args: ["--strict"] 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" + ] ...