ruff/crates/ruff_linter/resources/test/fixtures/flake8_async
Evan Kohilas ebdaf5765a
[flake8-async] Sleep with >24 hour interval should usually sleep forever (ASYNC116) (#11498)
## Summary

Addresses #8451 by implementing rule 116 to add an unsafe fix when sleep
is used with a >24 hour interval to instead consider sleeping forever.

This rule is added as async instead as I my understanding was that these
trio rules would be moved to async anyway.

There are a couple of TODOs, which address further extending the rule by
adding support for lookups and evaluations, and also supporting `anyio`.
2024-05-23 16:25:50 -04:00
..
ASYNC100.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
ASYNC101.py [flake8-async] Take pathlib.Path into account when analyzing async functions (#9703) 2024-01-30 17:42:50 +00:00
ASYNC102.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
ASYNC116.py [flake8-async] Sleep with >24 hour interval should usually sleep forever (ASYNC116) (#11498) 2024-05-23 16:25:50 -04:00