microsoft / responsible-ai-toolbox-mitigations

Python library for implementing Responsible AI mitigations.
https://responsible-ai-toolbox-mitigations.readthedocs.io/en/latest/
MIT License
57 stars 6 forks source link

Configure pre-commit #18

Closed mrfmendonca closed 2 years ago

mrfmendonca commented 2 years ago

This is not an issue, but it's something we should discuss, since there are some benefits to using pre-commit hooks in a repo. I believe it makes sense, since it will force all future pushes (either internal pushes or pushes from the community) to be consistent in some aspect. For example, I like to use the autopep8 pre-commit hook, since it enforces that the code is according to the PEP8 standards. And in some cases, it even changes the code automatically when you do the commit.

mrfmendonca commented 2 years ago

Pre-commits were configured in this commit.