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
File details
Details for the file flake8_async-24.9.5.tar.gz
.
File metadata
- Download URL: flake8_async-24.9.5.tar.gz
- Upload date:
- Size: 103.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da8b649b2bd327dbc74d67f98db7ac4ea82475620c5c77c91aa8e80e9b923e18 |
|
MD5 | 738ad9c5f85fb1239a9752a5d6f8cdd1 |
|
BLAKE2b-256 | 2cee12de650d88035b2244128eaa3ef790b1ee4c45425f35223f3b78b3aead64 |
File details
Details for the file flake8_async-24.9.5-py3-none-any.whl
.
File metadata
- Download URL: flake8_async-24.9.5-py3-none-any.whl
- Upload date:
- Size: 50.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 794398223a9e5ac2917e69ce1d71e17996b39f48003e4ed24921f5738eb7584d |
|
MD5 | f26a04edcdf3f42e9744b936f904d3c2 |
|
BLAKE2b-256 | b780fffbec199336b73370fb237b1cdcd4fd88f8e2655c2cb485277fb18b3e8f |