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.7.1.tar.gz (118.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: flake8_async-25.7.1.tar.gz
  • Upload date:
  • Size: 118.1 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.7.1.tar.gz
Algorithm Hash digest
SHA256 1f2947f2563a4c91135436046b1aaa84dfcdb801d47bc1eb28cdd5b8b42bb59c
MD5 a18223fd48d1357bfe1a216e5ef544c1
BLAKE2b-256 fb11ed62d9092005bb691c8fc93de30b730877beab113134d4a67240e21f798c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flake8_async-25.7.1-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.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 311ced052406379573dbafa4452eb9da5e4890a24668f97e0057509ac759bc9a
MD5 1d4937488b32e364902077c3e2776cb2
BLAKE2b-256 2a11ece553dfecd4e9c9f64ce4402c2eb0a639d588945cf1c92168bc50ce3c5d

See more details on using hashes here.

Supported by

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