MAIF / shapash

🔅 Shapash: User-friendly Explainability and Interpretability to Develop Reliable and Transparent Machine Learning Models
https://maif.github.io/shapash/
Apache License 2.0
2.71k stars 329 forks source link

Feature/code quality #521

Closed guerinclement closed 7 months ago

guerinclement commented 7 months ago

Description

This PR is the first part of a duet to address the issue #520. Formatting, using black, have been applied on all files but the notebooks, introducing quite a lot of changes.

Linting, using flake8, will come in a separate PR so the modifications are not hidden by the formatting changes.

Fixes #520 (partially)

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Note : i had to upgrade shap to 0.44 to make the tests pass. 0.41 was throwing an error despite the fact that the minimum requirements is 0.38.1

Test Configuration:

Checklist: