How to Change the Line Length Character Limit in Black

To change the character limit for the Black Python formatter, you can add a file named [pyproject.toml]( with the following:

line-length = 80

in your project directory.

This change is permanent but will work only in the project with the mentioned file. As of July 2020, I haven’t found a way to make this change permanent globally to a Python environment