-
-
Notifications
You must be signed in to change notification settings - Fork 378
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
Port flake-commas
#2641
Comments
I've changed your issue to be a completely different one, because github is broken and I cannot post new issues for some reason. |
I've just updated to Python 3.12 and flake8 is crashing due to error in Edit: I have since reinitialized venv and the error did not reoccur. Maybe I just missed something the first time. |
same here, I've got the error. python3.12
BLANK = ""
hashmap = {}
def replace_blank_labels(labels: list[str]) -> list[str]:
for index, label in enumerate(labels):
if label == BLANK:
label = hashmap[index]
hashmap[index] = f"[blank][{label}]"
else:
label = hashmap[index]
hashma[index] = f"[label]{label}]"
it works fine with python3.11 |
https://github.com/PyCQA/flake8-commas is now read-only.
It would be a good idea to include their code to our project, because we rely on it.
The text was updated successfully, but these errors were encountered: