A highly opinionated flake8 plugin for Trio-related problems.
Project description
flake8-async
A highly opinionated flake8 plugin for problems related to Trio, AnyIO, or asyncio.
This can include anything from outright bugs, to pointless/dead code, to likely performance issues, to minor points of idiom that might signal a misunderstanding.
It may well be too noisy for anyone with different opinions, that's OK.
Pairs well with flake8-bugbear.
Some checks are incorporated into ruff.
This plugin was previously known as flake8-trio, and there was a separate small plugin known as flake8-async for asyncio. But this plugin was a superset of the checks in flake8-async, and support for anyio was added, so it's now named flake8-async to more properly convey its usage. At the same time all error codes were renamed from TRIOxxx to ASYNCxxx, as was previously used by the old flake8-async.
Rules
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for flake8_async-24.9.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6394ba7405689bf101bff3c4a087eb2c52ea5d75fc85a6af234366b05ea0e49a |
|
MD5 | 210ab9994ac23557c4280ea5aa4ed9c9 |
|
BLAKE2b-256 | 79c9dfc0a5fc8c6d4f4858f943d3478703203b878f7ee46f35d3fe10c0b55f66 |