.pre-commit-config.yaml
default_language_version:
python: python3.9
repos:
- repo: https://github.com/extenda/pre-commit-hooks.git
rev: v0.4
hooks:
- id: google-java-formatter
Running the pre-commit manually it always shows up "failed" even though the file is successfully formatted:
Command: pre-commit run --files your/path/to/any/java/file.java
