aws / aws-iot-fleetwise-edge

Reference Implementation for AWS IoT FleetWise
https://aws.amazon.com/iot-fleetwise/
Apache License 2.0
61 stars 44 forks source link

Add other pre commit hooks #34

Closed gqmelo closed 1 year ago

gqmelo commented 1 year ago

This adds other pre-commit hooks and their respective fixes:

  1. check-executables-have-shebangs, check-shebang-scripts-are-executable: to detect inconsistent shell scripts permissions and shebang
  2. check-vcs-permalinks: to ensure that the links for source code in GitHub for example are permalinks, to avoid referring to the wrong code.
  3. Custom hook to validate the static config example against the json schema

Note: the changes in some files shown as Empty, are changing the permissions to execute them.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.