Add links regarding Spotless integration for gradle/maven users (#1622)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
This commit is contained in:
Ned Twigg 2020-08-25 18:54:05 -07:00 committed by GitHub
parent 9270a10f6f
commit 4a065a43e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,6 +255,10 @@ Sublime Text, Visual Studio Code and many more), you can use the
Use [python-black](https://atom.io/packages/python-black). Use [python-black](https://atom.io/packages/python-black).
## Gradle (the build tool)
Use the [Spotless](https://github.com/diffplug/spotless/tree/main/plugin-gradle) plugin.
## Kakoune ## Kakoune
Add the following hook to your kakrc, then run _Black_ with `:format`. Add the following hook to your kakrc, then run _Black_ with `:format`.
@ -269,9 +273,9 @@ hook global WinSetOption filetype=python %{
Use [Thonny-black-code-format](https://github.com/Franccisco/thonny-black-code-format). Use [Thonny-black-code-format](https://github.com/Franccisco/thonny-black-code-format).
## Other editors ## Other integrations
Other editors will require external contributions. Other editors and tools will require external contributions.
Patches welcome! ✨ 🍰 ✨ Patches welcome! ✨ 🍰 ✨