KotlinIsland

Results 497 comments of KotlinIsland

Have a look at [darker](https://github.com/akaihola/darker)

You should check out darker, it's kinda exactly what you want, it runs a linter on only the changed parts of code, so you can adopt pylint 100% incrementally.

The settings in the config file rarely change, but when they do it is very frustrating to forget to also sync the BlackConnect settings (for every single person that is...

> Please note blackd will not use `pyproject.toml` configuration. https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#where-black-looks-for-the-file While that's not entirely true, I do agree with you about the settings UI.

@eirnym PyCharm comes with black support built-in, or you could use ruff format, which has an excellent plugin

> And with builtin black plugin you basically can't create modules like `json.py` under any package Ah yes, https://youtrack.jetbrains.com/issue/PY-61699/Black-integration-failed-to-format-file-when-package-contains-stdlib-name-like-logging Yeah, use [ruff](https://github.com/astral-sh/ruff#usage), it's better in every way. ([plugin](https://plugins.jetbrains.com/plugin/20574-ruff))

I've used a customized version of BlackConnect that logs the version of black when this happens, and this is what it says: ![image](https://user-images.githubusercontent.com/65446343/235054162-c810b617-72d5-4d81-be39-07ef2595ee2d.png)

@NikolausDemmel Can I ask why you are using an `.editorconfig` setting when that option is configurable in the black config file? ```toml [tool.black] line-length = 100 ```