Skip to content

Commit 7af8e19

Browse files
phernandezclaude
andcommitted
style: fix linting errors in test assertions
Replace equality comparisons to False with 'not' for better style. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 12b5152 commit 7af8e19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/repository/test_search_repository.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -574,13 +574,13 @@ def test_parenthetical_term_quote_escaping(self, search_repository):
574574
def test_needs_quoting_empty_input(self, search_repository):
575575
"""Test _needs_quoting with empty inputs (line 207 coverage)."""
576576
# Test empty string
577-
assert search_repository._needs_quoting("") == False
577+
assert not search_repository._needs_quoting("")
578578

579579
# Test whitespace-only string
580-
assert search_repository._needs_quoting(" ") == False
580+
assert not search_repository._needs_quoting(" ")
581581

582582
# Test None-like cases
583-
assert search_repository._needs_quoting("\t") == False
583+
assert not search_repository._needs_quoting("\t")
584584

585585
def test_prepare_single_term_empty_input(self, search_repository):
586586
"""Test _prepare_single_term with empty inputs (line 227 coverage)."""

0 commit comments

Comments
 (0)