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.10.2.tar.gz
.
File metadata
- Download URL: flake8_async-24.10.2.tar.gz
- Upload date:
- Size: 104.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b432eff96910977cf865077909393cfbfec4c617ddd4a0b6b379075c878d8b5 |
|
MD5 | 865e9877e7b8236e321b9262057672f4 |
|
BLAKE2b-256 | e3714b1ce08772d150bc73b1402bb456d57b75de2eaca2c892dd664d22250b47 |
File details
Details for the file flake8_async-24.10.2-py3-none-any.whl
.
File metadata
- Download URL: flake8_async-24.10.2-py3-none-any.whl
- Upload date:
- Size: 51.8 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 | 2393c0c009ae48bc3938d94991b20e5d15dac3f7d1c3e3c79d616f2057a39984 |
|
MD5 | 4dbb379864acdef5b1748eacdf178890 |
|
BLAKE2b-256 | aa23d8fbd4e628b7331619302e0cb7af0ca9741e11f06e6f66482094405618be |