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.7.1.tar.gz (132.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.7.1-py3-none-any.whl (64.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flake8_async-26.7.1.tar.gz
Algorithm Hash digest
SHA256 28e25d1e9a66c77824a42f02db1d71e7d629508a61551957ae30c47bc96b9716
MD5 cf2274edc42365dc371642427f49d29f
BLAKE2b-256 47ce5171a92521e7855869d7c6a5f4fc06fe6be2f1611ade2f451dd2017d09b6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for flake8_async-26.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3491e5806db46008d064f7c576c9b1f115a107863e021fbb7694e22ecefa39c8
MD5 e5ff19b6d02c7dc38ebf2d2487d95549
BLAKE2b-256 37566ca2b6d2c85a6fd17ef3b4bd5888094bb22397d6ccb9445f4e796bb0d387

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