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-26.4.2.tar.gz (130.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-26.4.2-py3-none-any.whl (63.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flake8_async-26.4.2.tar.gz
Algorithm Hash digest
SHA256 ced139a1d2b2073a916c34606eb0eb7264dc3acf2383989908cee08aaacea2c8
MD5 404882d6e93d52d5f39f237638ad6a71
BLAKE2b-256 11c9b6aeb2986431033054ccb6491ec2a434de65cb0983c85b09937f426510b8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flake8_async-26.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7de9926851da5641b2607962cb273cc3787cb39adaf7d2b5036920fa192cb647
MD5 e620926eace1a260b27de4ea9703932c
BLAKE2b-256 2ebac4301268ba953c2c70544562fa722ef7b2d8216ebade8346015c8a4c1daf

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