matplotlib / mpl-third-party

Third-party Packages Webpage
https://matplotlib.org/mpl-third-party/
53 stars 71 forks source link

Add a pre-commit configuration #152

Closed QuLogic closed 1 year ago

QuLogic commented 1 year ago

PR Summary

As in Matplotlib, it tests flake8, codespell, and some whitespace. It also checks YAML linting and the YAML schema.

Also, add an ignored word for codespell, and a schema for checking package YAML files. The latter confirms that:

QuLogic commented 1 year ago

Seems that we probably need to merge the config before pre-commit will run.

timhoffm commented 1 year ago

Let's try this.