cnellington / Contextualized

An SKLearn-style toolbox for estimating and analyzing models, distributions, and functions with context-specific parameters.
http://contextualized.ml/
GNU General Public License v3.0
65 stars 9 forks source link

Add support for pylint and display of pylint badge. #110

Closed blengerich closed 2 years ago

blengerich commented 2 years ago

Adds pylint support with a .pylintrc settings file, and adds a pylint badge to README.md so that we can track linting status.

To check linting errors and recreate/update the badge, run: pylint-badge contextualized pylint.svg

where pylint-badge is installed by:

pip install git+https://github.com/blengerich/pylint-badge .

The current version of .pylintrc is the default created by pylint --generate-rcfile. This can be updated to include whitelist/blacklist directories or pylint rules.