The author of the pydocstyle_lint.py module made a mistake when he thought that pydocstyle ignores the --match option when we explicitly pass the path to a file for diagnosis. This behavior only occurs with respect to the --match-dir option. The link to the source code that proves this. As a result, users were unable to set the match parameter in their configuration file inside a project.
I fixed this error and did a little refactoring to get rid of the repetitive code.
See #523 for a description of this error.
The author of the
pydocstyle_lint.py
module made a mistake when he thought that pydocstyle ignores the--match
option when we explicitly pass the path to a file for diagnosis. This behavior only occurs with respect to the--match-dir
option. The link to the source code that proves this. As a result, users were unable to set thematch
parameter in their configuration file inside a project.I fixed this error and did a little refactoring to get rid of the repetitive code.