Skip to content

[BUG] conflicting whitespace convention between flake8 and black #36

@dorukaks

Description

@dorukaks

Description

Self explanatory title. Black wants to have white space before and after colon ":" but flake8 raises E203 error in that case.

Correspondence: @dorukaks
Branch (if applicable): main

Steps to reproduce issue

Running pre-commit run --all-files when there is a colon in any of the python scripts

Current behavior

flake8 raises E203 error when black fixes a file for colon whitespace

Expected behavior

flake8 shouldn't raise an error to the files fixed by black

Code versions

  • Operating System:
  • Python: N/A
  • NumPy: N/A
  • This repository: bf3de83

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions