autopep8 icon indicating copy to clipboard operation
autopep8 copied to clipboard

E203 fix gets reversed by `black`

Open Mausy5043 opened this issue 6 months ago • 0 comments


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

Mausy5043 avatar Aug 12 '24 20:08 Mausy5043