-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Milestone
Description
Bug description
I run pylint twice, once without pylint.extensions.docparams
and once with. Both use the same pyproject.toml
configuration file. This was not a problem until 2.14.0 but now the first call crashes because the docparams options are not recognized.
Configuration
[tool.pylint.master]
accept-no-param-doc = "no"
accept-no-raise-doc = "no"
accept-no-return-doc = "no"
accept-no-yields-doc = "no"
Command used
pylint src
Pylint output
pyproject.toml:1:0: E0015: Unrecognized option found: accept-no-param-doc, accept-no-raise-doc, accept-no-return-doc, accept-no-yields-doc (unrecognized-option)
Expected behavior
Unused options do not lead to a crash or section names in pyproject.toml
are honored.
Pylint version
pylint 2.14.0
astroid 2.11.5
Python 3.9.5 (default, Nov 18 2021, 16:00:48)
[GCC 10.3.0]
OS / Environment
Kubuntu 21.04
Additional dependencies
No response