Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E203 fix gets reversed by black #766

Open
Mausy5043 opened this issue Aug 12, 2024 · 0 comments
Open

E203 fix gets reversed by black #766

Mausy5043 opened this issue Aug 12, 2024 · 0 comments

Comments

@Mausy5043
Copy link


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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant