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

Uploaded Source

Built Distribution

flake8_async-24.11.2-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flake8_async-24.11.2.tar.gz
Algorithm Hash digest
SHA256 8d8e5bd93ff1ff6a7e1805b6d258dd74635ca96ac6c9ae9f0fb42b53fde2bc08
MD5 c68a4390f0bc7310a6120506112c7737
BLAKE2b-256 d72fbc11d7f66d29625c46f3d0eaae8371e7734ffd6b0d902de2a14b4b7e23c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flake8_async-24.11.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2025d2a3d5bff153e912e4a5c2d3f373122f2ae28157937502e63327666416f5
MD5 c71c83a76fc61070113fa0a21a351fc2
BLAKE2b-256 dd3a5180e8e283a2b63684ac8fd194a57ff728f465ff471b240cce513768d71b

See more details on using hashes here.

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