Releases: lightspeed-hospitality/pre-commit-hooks
Releases · lightspeed-hospitality/pre-commit-hooks
Install pre-commit-hooks as dependency
What's Changed
- Moving away from using pre-commit-hooks as a submodule and instead install pre-commit-hooks as dependency by @ls-alexander-muehlbauer in #28
Full Changelog: v0.7.7...v0.7.8
Checkstyle hook fix
Fixed an issue with checkstyle hook, where the given that mvnw was present the script would pickup mvn command instead and not use the wrapper.
Checkstyle hook
Adds a hook that runs checkstyle:check
goal
Bumping several versions
Contains several version updates:
- poetry.lock was updated
- Java code formatter was bumped to 1.13.0. This means projects with older Java version might need to update their pre-commit config:
args: ["--formatter-version=1.9"]
. - detect-secrets was bumped to 0.13.1+ibm.47.dss
Add black, flake8 and mypy
commonly used python tooling was added as a part of this release, namely:
- black
- flake8
- mypy
The poetry-pytest hook now supports a path being passed to it.
Bumps detect-secrets
Bumps minimal detect-secrets version to >=1.1.0
Adding detect-secrets hook
adds the detect-secrets hook (see: https://github.com/Yelp/detect-secrets)
- this can help us to prevent adding secrets unintentionally
- remove secrets from codebases
This release is updating the pre-commit-hooks submodule, therefore the minor is bumped.
Add shfmt and shellcheck
Add shellcheck and shfmt hooks (#6) * Add shellcheck and shfmt hooks * Fork shfmt pre-commit hook script * Improve usage of shfmt pre-commit hook script * Remove deprecated additional_dependencies for script hooks
Add yamllint
v0.3.2 Add yamllint pre-commit hook (#3)
Optimize CircleCI Configuration Validation
v0.3.0 Update circleci-config-validate.sh