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

Uploaded Source

Built Distribution

flake8_async-24.5.5-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flake8_async-24.5.5.tar.gz
  • Upload date:
  • Size: 98.8 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.5.tar.gz
Algorithm Hash digest
SHA256 cc50bf603eabee6811d0a1bd22cd68c2f23c05aa9e7c27611e89b278de0eb82c
MD5 3a84a9db86bc63550b809c2329bd314b
BLAKE2b-256 1cd81becd3d8da5cb68b244d5323fdad4f01c50d6daff8ae6dacfc146939ebfe

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for flake8_async-24.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3ec8ef352e82ad643ddb2d2711baa59fd5c22cc8e31ec639da66e677f382610d
MD5 38a2fc65142f75d3e151d0b1d6efc884
BLAKE2b-256 19fa4895900b3175d6c439f60a10b5015f8e9e21cdd447eb3e33e7e98893334a

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