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
flake8-requests-0.3.0.tar.gz
(5.5 kB
view details)
Built Distribution
File details
Details for the file flake8-requests-0.3.0.tar.gz
.
File metadata
- Download URL: flake8-requests-0.3.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.6 Darwin/19.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c583325145a9a75ab2dc758748373655bb0619c03cdd98afb903ad20c6fef46 |
|
MD5 | 1c50607b9df1da6adc92ca48054dc0ec |
|
BLAKE2b-256 | 424b0192b76d64ebcd7378d93f0df8c32019e7f74e61a52821a9b16c5a0986f8 |
File details
Details for the file flake8_requests-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: flake8_requests-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.6 Darwin/19.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb50bf32889d74d4c2a86813c3072d73e2b28fa7aa405b8d856909fdc3c29b6c |
|
MD5 | 53fd5c8ef8d91fd90d46dc7cb43df59a |
|
BLAKE2b-256 | b8615410cb9f2b76af562bcc42b7d9168ab727e2b3c25eaa0998ed7175ddcb7b |