Thomas Cooper created FLINK-37600: ------------------------------------- Summary: Add a pre-commit git hook for running linting checks Key: FLINK-37600 URL: https://issues.apache.org/jira/browse/FLINK-37600 Project: Flink Issue Type: Improvement Reporter: Thomas Cooper
There are several linting checks contained within the github actions [pre-compile workflow|https://github.com/apache/flink/blob/master/.github/workflows/template.pre-compile-checks.yml]. It would be useful to have these checks run as a pre-commit hook in git so that any linting issues are spotted before they are pushed remotely. This could be an example script in the tools directory with instructions on how to symlink the script to the developers local .git/hooks directory. -- This message was sent by Atlassian Jira (v8.20.10#820010)