mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-18 17:41:12 +00:00
Move typos to pre-commit config (#4148)
This commit is contained in:
parent
03144b2fad
commit
f0f4bf2929
6 changed files with 13 additions and 16 deletions
|
@ -85,7 +85,7 @@ def foo2(list_a, list_b):
|
|||
|
||||
def foo3(list_a, list_b):
|
||||
return (
|
||||
# Standlone comment but weirdly placed.
|
||||
# Standalone comment but weirdly placed.
|
||||
User.query.filter(User.foo == "bar")
|
||||
.filter(
|
||||
db.or_(User.field_a.astext.in_(list_a), User.field_b.astext.in_(list_b))
|
||||
|
|
|
@ -85,7 +85,7 @@ def foo2(list_a, list_b):
|
|||
|
||||
def foo3(list_a, list_b):
|
||||
return (
|
||||
# Standlone comment but weirdly placed.
|
||||
# Standalone comment but weirdly placed.
|
||||
User.query.filter(User.foo == "bar")
|
||||
.filter(
|
||||
db.or_(User.field_a.astext.in_(list_a), User.field_b.astext.in_(list_b))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue