Skip to main content

A flake8 plugin that checks bad async / asyncio practices

Project description

flake8-async

A flake8 plugin that checks for bad async / asyncio practices.

Installation

pip install flake8-async
  • Or from GitHub
pip install git+https://github.com/cooperlees/flake8-async

List of warnings

  • ASYNC100: Warning about the use of a blocking http call inside an async def coroutine

Development

To run our test suite please use tox.

python3 -m venv --upgrade-deps /tmp/tfa
/tmp/tfa/bin/pip install tox
# Linting
/tmp/tfa/bin/tox -e check
# Test Running
/tmp/tfa/bin/tox -e test -- -n auto

License

MIT

Changelog

22.3.10

  • Initial release

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-22.3.10.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

flake8_async-22.3.10-py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 3

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