tensorflow / model-card-toolkit

A toolkit that streamlines and automates the generation of model cards
https://www.tensorflow.org/responsible_ai/model_card_toolkit/guide
Apache License 2.0
418 stars 85 forks source link

Set up linting pre-commit hook #246

Closed codesue closed 1 year ago

codesue commented 1 year ago

Expected Behavior

When someone opens a pull request, their changes should be automatically linted before code review.

Actual Behavior

Currently, changes must be linted manually, and there are no automated checks that prevent introducing code that goes against our style guide.

Proposed Solution

Set up a linting pre-commit hook such as the one in tfx-addons. Add documentation on how to lint changes to the contributing guide or create an issue for this.