apache / sedona

A cluster computing framework for processing large-scale geospatial data
https://sedona.apache.org/
Apache License 2.0
1.96k stars 692 forks source link

[CI] pre-commit: auto add license templates to headers of TOML files #1657

Closed jbampton closed 3 weeks ago

jbampton commented 3 weeks ago

refs #1647

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

This PR adds another check/test/hook to our pre-commit framework

So far just targets TOML files.

Using pre-commit we can auto add license headers to files on git commit or when running pre-commit run --all-files

How was this patch tested?

Tested with pre-commit both before and after the license header was added.

Did this PR include necessary documentation updates?