dslinter
is a pylint plugin for linting data science and machine learning code. We plan to support the following Python libraries: TensorFlow, PyTorch, Scikit-Learn, Pandas, NumPy and SciPy.
dslinter
aims to help data scientists and developers produce and maintain high-quality machine learning application code.
dslinter
does this by checking violations of best coding practices for machine learning libraries.
🔧 To install from source for development purposes: clone this repo and install the plugin with: pip install -e .
🔧 To install from the Python Package Index: pip install dslinter
😎 To only use the checkers implemented in this plugin, run: pylint --load-plugins=dslinter --disable=all --enable=dataframe,nan,hyperparameters,import,data-leakage,controlling-randomness,excessive-hyperparameter-precision,pca-scaler <other_options> <path_to_sources>
😎 To expand a current pylint configuration with the checkers from this plugin, run: pylint --load-plugins=dslinter <other_options> <path_to_sources>
📝 Tests can be run by using the pytest package: pytest .