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.

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

Uploaded Source

Built Distribution

flake8_async-24.5.3-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flake8_async-24.5.3.tar.gz
  • Upload date:
  • Size: 93.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for flake8_async-24.5.3.tar.gz
Algorithm Hash digest
SHA256 eeeedcad1e8b9dfcfb1a6aa22395574b14de3743f40dceec8948f3318bdecd08
MD5 06a784bd65b553b838f44faa600b9f62
BLAKE2b-256 6218e2ac0591b634db53236344bac6987f1ce5204fc3d74ebaca0205f892f7b7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for flake8_async-24.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5f0b1d7ebfb247ab515ac8ba27b49231473b51ceb6f2dd2cb377f216bb797594
MD5 6a49762c3266583a9318117dcb5f80dd
BLAKE2b-256 c16f607632b73ea4726c1fef7605bfc178a846994c833dd7e82e89b97ab44f1d

See more details on using hashes here.

Provenance

Supported by

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