autopep8
autopep8 copied to clipboard
E203 fix gets reversed by `black`
Python Code
y.append(y_data[v : loc2[i]].sum())
The space before the colon is removed by autopep8
. black
inserts a space before the colon.
Is this behavior by design (and should I add ignore = "E203"
to the configuration)?
Command Line and Configuration
pyproject.toml
[tool.autopep8]
max_line_length = 98
in-place = true
recursive = true
aggressive = 2
Command Line
$ autopep8 .
Your Environment
- Python version: 3.11.9
- autopep8 version: 2.3.1
- Platform: macOS