ansys / grantami-serverapi-openapi

Autogenerated client library for Granta MI Server API
MIT License
2 stars 0 forks source link

Add license check pre-commit hook #173

Closed ludovicsteinbach closed 5 months ago

ludovicsteinbach commented 5 months ago

See how we're currently running black on the generated code and add the license hook.

ludovicsteinbach commented 5 months ago

If configured correctly the pre-commit bot can run on PRs run configured hooks. It might get complicated as we already commit the code generated during CI, but an ideal sequence could look like: