ruff
9a8400a2 - Avoid raising `TRIO115` violations for `trio.sleep(...)` calls with non-number values (#8532)

Commit
2 years ago
Avoid raising `TRIO115` violations for `trio.sleep(...)` calls with non-number values (#8532) ## Summary Fixes bug in `TRIO115` where it would not `return` for values that were not a `NumberLiteral` so ```python x = "bla" trio.sleep(x) ``` would set off a false positive ## Test Plan Added test case to fixture
Author
Parents
Loading