auto8pep


Installation

pip install --upgrade autopep8

pyproject.toml

# configuration file example:
[tool.autopep8]
max_line_length = 79
ignore = "E501,W6"  # or ["E501", "W6"]
in-place = true
recursive = true
aggressive = 3