Language-formatters-pre-commit-hooks

Latest version: v2.14.0

Safety actively analyzes 700638 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

2.14.0

-------------------
- Update GoogleJavaFormatter to 1.22.0
- Update ktfmt to version 0.51
**NOTE**: This updates removes dropbbox style formatting ([here](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/235/commits/0ba8757d94104c62f2431160f3316e51203bd60d)).
- Update KTLint to version 1.3.1
- [Kotlin] Improved support for ktfmt - [PR 224](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/224) - [mxr](https://github.com/mxr)
- [Java/Kotlin] Enable checksum verification of download artifacts - [PR 222](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/222) - [mxr](https://github.com/mxr)
- [Rust] Add support for non-root cargo projects - [PR 217](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/217) - [AJIOB](https://github.com/AJIOB)
- [Java] Add support for palantir-cli - [PR 213](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/213) - [eirnym](https://github.com/eirnym)
- [internal] Update pre-commit hooks, github actions and removed deprecated usage of `pkg_resources`

2.13.0

-------------------

- Update KTLint to version 1.2.1
- Update GoogleJavaFormatter to version 1.21.0
- Ensure that TOML processing assumes that the files have UTF-8 encoding - [PR 208](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/208) - [Jayman2000](https://github.com/Jayman2000) thanks for your contribution
- Pretty TOML allows for customisation of inline-comment-space - [PR 205](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/205) - [alkatar21](https://github.com/alkatar21) thanks for your contribution
- [internal] Update pre-commit hooks, github actions

2.12.0

-------------------

- Add support for [ktfmt](https://github.com/facebook/ktfmt) Kotlin code formatter - [PR #196](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/196) - [aandres](https://github.com/aandres) thanks for your contribution
- Update KTLint to version 1.0.1

2.11.0

-------------------

- Update KTLint to version 1.0.0
- Update GoogleJavaFormatter to 1.18.1
- Make library compatible with Python 3.12 - [PR 182](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/182) - [Delgan](https://github.com/Delgan) thanks for your contribution

2.10.0

------------------

- Add `--indent` and `--trailing-commas` arguments for `pretty-format-toml` - [PR 160](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/143) - [maresb](https://github.com/maresb) thanks for your contribution
- Improve `pretty-format-kotlin` interaction with `ktlint` to prevent attempts to format not kotlin files, [(Issue 162)](https://github.com/macisamuele/language-formatters-pre-commit-hooks/issues/162) - [PR #163](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/163) - [languitar](https://github.com/languitar) thanks for your contribution
- Improve `pretty-format-kotlin` to reduce log verbosity - [PR 177](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/177) - [Velfi](https://github.com/Velfi) thanks for your contribution
- Allow `pretty-format-java` and `pretty-format-kotlin` to leverage pre downloaded JAR instead of fetching it - [PR 156](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/156) / [PR #???](https://github.com/macisamuele/language-formatters-pre-commit-hooks/pull/156) - [fabasoad](https://github.com/fabasoad) thanks for your contribution
- Update KTLint to 0.50.0

2.9.0

------------------

- Update GoogleJavaFormatter to 1.17.0
- Update KTLint to 0.49.1
- Bug fix pretty-format-yaml
Sequecence item indentation should condider offset as part of the indentation, [154 (comment)](https://github.com/macisamuele/language-formatters-pre-commit-hooks/issues/154#issuecomment-1546778156) has more details.
Thanks [datalogics-kam](https://github.com/datalogics-kam) and [fmigneault](https://github.com/fmigneault) for reporting the issue and helping me identify the underlying root cause.

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.