add E275 missing-whitespace-after-keyword linting rule (#6149)

requires space after keywords like `assert`, `not`, `return`, `else`
This commit is contained in:
chenyu
2024-08-17 16:44:34 -04:00
committed by GitHub
parent da4fa77e92
commit f7950fc2b6
7 changed files with 21 additions and 20 deletions

View File

@@ -12,6 +12,7 @@ lint.select = [
# "E124",
"E203", # whitespace-before-punctuation
"E272", # multiple-spaces-before-keyword
"E275", # missing-whitespace-after-keyword
"E303", # too-many-blank-lines
"E304", # blank-line-after-decorator
"E501", # line-too-long