pydocstyle fixes
This commit is contained in:
parent
d09b527e0f
commit
8c2da3c331
1 changed files with 5 additions and 5 deletions
|
@ -1,15 +1,15 @@
|
||||||
require('lint').linters_by_ft = {
|
require('lint').linters_by_ft = {
|
||||||
python = { 'flake8', 'pylint', 'pycodestyle', 'pydocstyle'},
|
python = { 'flake8', 'pylint', 'pycodestyle', 'pydocstyle' },
|
||||||
php = { 'phpcs' },
|
php = { 'phpcs' },
|
||||||
markdown = { 'markdownlint' }
|
markdown = { 'markdownlint' }
|
||||||
}
|
}
|
||||||
|
|
||||||
local pydocstyle = require('lint.linters.pydocstyle')
|
local pydocstyle = require('lint.linters.pydocstyle')
|
||||||
pydocstyle.args = {
|
pydocstyle.args = {
|
||||||
'--ignore=D100', -- disable missing module docstring info
|
'--ignore=D100,D203,D213', -- disable missing module docstring info
|
||||||
'--ignore=D203', -- disable one line before class docstring required
|
-- disable one line before class docstring required
|
||||||
'--ignore=D213', -- disable multiline docstring summary
|
-- disable multiline docstring summary
|
||||||
-- should start at the second line
|
-- should start at the second line
|
||||||
}
|
}
|
||||||
local pylint = require('lint.linters.pylint')
|
local pylint = require('lint.linters.pylint')
|
||||||
pylint.args = {
|
pylint.args = {
|
||||||
|
|
Loading…
Reference in a new issue