ruff/crates/ruff_linter/resources/test
qdegraaf 9a8400a287
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
2023-11-06 16:49:12 -06:00
..
fixtures Avoid raising TRIO115 violations for trio.sleep(...) calls with non-number values (#8532) 2023-11-06 16:49:12 -06:00
package Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
project Use tool.ruff.lint in more places (#8317) 2023-10-28 18:39:38 -05:00
disallowed_rule_names.txt Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00