Skip to main content

A highly opinionated flake8 plugin for Trio-related problems.

Project description

Documentation Latest PyPi version pre-commit.ci status Test coverage Checked with pyright

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

https://flake8-async.readthedocs.io/en/latest/rules.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8_async-25.5.3.tar.gz (118.5 kB view details)

Uploaded Source

Built Distribution

flake8_async-25.5.3-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

Details for the file flake8_async-25.5.3.tar.gz.

File metadata

  • Download URL: flake8_async-25.5.3.tar.gz
  • Upload date:
  • Size: 118.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for flake8_async-25.5.3.tar.gz
Algorithm Hash digest
SHA256 fdbc70b40f6a4144beae399814e0e4ac3c034307384085c4729a1e44005904b7
MD5 c0690c40f8d4d6db718b40c067a25174
BLAKE2b-256 a2f0773d3e865d9c8357c02b3313dd0da1532e5fea271e75d5e78c675b92e374

See more details on using hashes here.

File details

Details for the file flake8_async-25.5.3-py3-none-any.whl.

File metadata

  • Download URL: flake8_async-25.5.3-py3-none-any.whl
  • Upload date:
  • Size: 56.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for flake8_async-25.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2272f2e3d809d736dbea5f5ece11f3949ad2ed114fe427ca694cd9d7250f8eda
MD5 ca6b9b8da3f395a8fb7da2e791c64bea
BLAKE2b-256 b4edcad5c9d6aa568e3aff06014049dc475ba8157f2651624cd383562513d750

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page