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.1.4.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file flake8-requests-0.1.4.tar.gz
.
File metadata
- Download URL: flake8-requests-0.1.4.tar.gz
- Upload date:
- Size: 6.4 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 | 265c96358f5174e6a41ec9fc99b996dcc002da69ecfd1df805c6ed6f85901867 |
|
MD5 | 71873a2a2c982ed33ef09df7ee708850 |
|
BLAKE2b-256 | 93701a532e54800e2afd3ceda86184395fd37629e621373bf8ca01a1280a3e83 |
File details
Details for the file flake8_requests-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: flake8_requests-0.1.4-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 | 674e35afd142d3b1d212cdbe7d6096061404dd7c0670a4da4fe3a0e3b1cf9427 |
|
MD5 | b7e95c3e922a7cabc14135094c1065d9 |
|
BLAKE2b-256 | f12b4f04dec4ff4489c8362d248657808a7040677292a987d1e53f72078defea |