r2c checks for requests
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
flake8-requests-0.2.0.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file flake8-requests-0.2.0.tar.gz
.
File metadata
- Download URL: flake8-requests-0.2.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0b5 CPython/3.7.2 Darwin/19.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d681539dcf9e9bc36418db8aa77dcd1d07c640ae893b0c702790d77aefbb9f4 |
|
MD5 | a65fd5f8a6d28714277901e5be6bf845 |
|
BLAKE2b-256 | 46d0ae706fe1f99132a25108034d13de06cab16a9126a892376f9a2d0be0c0e8 |
File details
Details for the file flake8_requests-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: flake8_requests-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0b5 CPython/3.7.2 Darwin/19.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d8f55b907ed523f61cea7d8d0419e19ce0d07a1c01f246c060e86de202f656b |
|
MD5 | ef41a62decd924c1cd6a274e36588e52 |
|
BLAKE2b-256 | 31534dd5f08abc880b240951468161ff56b9a7747fad7f26d64ec685832b1ea9 |