Skip to content

Commit 9232e61

Browse files
author
Peng Ren
committed
Fix code formatting issue
1 parent 47cf574 commit 9232e61

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pymongosql/sql/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def _find_operator_positions(self, text: str, operator: str) -> List[int]:
489489
positions = []
490490
i = 0
491491
while i < len(text):
492-
if text[i:i + len(operator)].upper() == operator.upper():
492+
if text[i : i + len(operator)].upper() == operator.upper():
493493
# Check word boundary - don't split inside words
494494
if (
495495
i > 0

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ skip_glob = ["**/partiql/**"]
7070
[tool.flake8]
7171
max-line-length = 127
7272
exclude = ["*/partiql/*.py"]
73+
ignore = ["E203", "W503"] # E203 and W503 conflict with black formatting
7374

7475
[tool.pytest.ini_options]
7576
minversion = "7.0"

0 commit comments

Comments
 (0)