Checks for the requests module, by r2c. Available in [Bento](https://bento.dev).
Project description
flake8-requests
flake8-requests is a plugin for flake8 with checks specifically for the request framework.
Installation
pip install flake8-requests
Validate the install using --version
. flake8-requests adds two plugins, but this will be consolidated in a very near-future version. :)
> flake8 --version
3.7.9 (mccabe: 0.6.1, pycodestyle: 2.5.0, pyflakes: 2.1.1, flake8-requests)
List of warnings
r2c-requests-no-auth-over-http
: Alerts whenauth
param is possibly used over http://, which could expose credentials. See more documentation at https://checks.bento.dev/en/latest/flake8-requests/r2c-requests-no-auth-over-http/r2c-requests-use-scheme
: Alerts when URLs passed torequests
API methods dont have a URL scheme (e.g., https://), otherwise an exception will be thrown. See more documentation at https://checks.bento.dev/en/latest/flake8-requests/r2c-requests-use-scheme/
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
Built Distribution
Close
Hashes for flake8_requests-0.3.0b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 067a10e849931503781210d28b483f665508fc3015da5de2559aaf7bd651d4c5 |
|
MD5 | 40c51ddd1a808a349cda668d07bb7c80 |
|
BLAKE2b-256 | 587d828be7f651871cf96db117af7544eeddbe56439780f0c069f31e49ce60ce |