Pattern: while
with negated condition
Issue: -
Checks for uses of while
with a negated condition. Use until
instead.
# bad
do_something while !some_condition
# good
do_something until some_condition
Pattern: while
with negated condition
Issue: -
Checks for uses of while
with a negated condition. Use until
instead.
# bad
do_something while !some_condition
# good
do_something until some_condition