ruff/crates/ruff_linter
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
..
resources [flake8-async] Sleep with >24 hour interval should usually sleep forever (ASYNC116) (#11498) 2024-05-23 16:25:50 -04:00
src [flake8-async] Sleep with >24 hour interval should usually sleep forever (ASYNC116) (#11498) 2024-05-23 16:25:50 -04:00
__init__.py [pylint] (Re-)Implement import-private-name (C2701) (#9553) 2024-01-16 14:03:11 -05:00
Cargo.toml Bump version to v0.4.5 (#11502) 2024-05-23 01:09:01 +00:00