Closed dorukaks closed 1 year ago
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
main
Running pre-commit run --all-files when there is a colon in any of the python scripts
pre-commit run --all-files
flake8 raises E203 error when black fixes a file for colon whitespace
flake8 shouldn't raise an error to the files fixed by black
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 scriptsCurrent 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