summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-03-07 16:49:57 +0100
committerGitHub <noreply@github.com>2021-03-07 16:49:57 +0100
commit04937c3098f2497f88792085f15c36741b9a1f15 (patch)
treef5eb41de3306924b50625832e3cb1faa22c455af /.pre-commit-config.yaml
parent0a956d473d5c215c3248df98dc0272005116c55b (diff)
downloadpylint-git-04937c3098f2497f88792085f15c36741b9a1f15.tar.gz
Typing changes + disable unused pylint plugin for pre-commit (#4205)
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c46caf4b3..f2d3b71ea 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -49,8 +49,9 @@ repos:
entry: pylint
language: system
types: [python]
+ args: ["-rn", "-sn", "--rcfile=pylintrc", "--load-plugins=pylint.extensions.docparams"]
+ # disabled plugins: pylint.extensions.mccabe
exclude: tests/functional/|tests/input|tests/extensions/data|tests/regrtest_data/|tests/data/|doc/
- args: [--load-plugins=pylint.extensions.docparams, pylint.extensions.mccabe, -rn]
- id: fix-documentation
name: Fix documentation
entry: python3 -m script.fix_documentation