From c4c719241d2111d86259f2718af1c0ecb874c41e Mon Sep 17 00:00:00 2001 From: Szwendacz99 Date: Wed, 2 Nov 2022 13:04:31 +0100 Subject: [PATCH] restore pydocstyle --- lua/my-lint.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/my-lint.lua b/lua/my-lint.lua index a10fe97..8bc1496 100644 --- a/lua/my-lint.lua +++ b/lua/my-lint.lua @@ -1,9 +1,13 @@ require('lint').linters_by_ft = { - python = { 'flake8', 'pylint', 'pycodestyle', }, + python = { 'flake8', 'pylint', 'pycodestyle', 'pydocstyle'}, php = { 'phpcs' }, markdown = { 'markdownlint' } } +local pydocstyle = require('lint.linters.pydocstyle') +pydocstyle.args = { + '--ignore=D100', -- disable missing module docstring info +} local pylint = require('lint.linters.pylint') pylint.args = { '-f',