TRI-ML / dgp

ML Dataset Governance Policy for Autonomous Vehicle Datasets
https://tri-ml.github.io/dgp/
MIT License
93 stars 63 forks source link

fix: explicitly load docparams pylint plugin in .pylintrc #109

Closed tk-woven closed 2 years ago

tk-woven commented 2 years ago

Description

This is toward unblocking #101 which is stuck on a pylint configuration issue. We provide some configuration in .pylintrc that seems to expect the check_docs plugin, but the new plugin is docparams. We therefore explicitly load the docparams plugin when running pylint.

Reproduction

Before this change, run

pylint setup.py

in the root of the repo, and you'll see

root@hostname:/home/dgp# pylint setup.py
************* Module /home/dgp/.pylintrc
.pylintrc:1: [E0015(unrecognized-option), ] Unrecognized option found: accept-no-param-doc, accept-no-return-doc, accept-no-yields-doc

After this change, the above example runs without errors.


This change is Reviewable

nehalmamgain commented 2 years ago

Thanks so much Tyler, much appreciated!