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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file flake8-async-22.3.10.tar.gz
.
File metadata
- Download URL: flake8-async-22.3.10.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 708f9e678b5d02335690f02d36ab841d9c88ab653cb85425641a09373bb0e3d5 |
|
MD5 | b3d5436856b8d6017fc93d90f6f991bd |
|
BLAKE2b-256 | d0df519fc83795cca44b331da115cb429013ee15817fd1e4dd9a0cfd9019c65d |
Provenance
File details
Details for the file flake8_async-22.3.10-py3-none-any.whl
.
File metadata
- Download URL: flake8_async-22.3.10-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ca94ac4e0ca0a5b8b27c0b50247a60945b6a3780480832f93b87b17b1e16433 |
|
MD5 | bb31266db6104b7f50704af627cbb6d8 |
|
BLAKE2b-256 | 38f37d51d7c894efababc666d97905f70569108f19d1fa2a9e0a03f7be32afe3 |