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 whenauthparam 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 torequestsAPI 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/r2c-requests-use-timeout: This check detects when arequestsAPI method has been called without a timeout.requestswill hang forever without a timeout; add a timeout to prevent this behavior.
Metadata
Release files for flake8-requests 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| flake8-requests-0.4.0.tar.gz | 5.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flake8_requests-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.3 kB
Release files / flake8-requests-0.4.0.tar.gz
| Download URL | flake8-requests-0.4.0.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1230144d5cb091e4640711687c3ef674fb628231bc96073eaca9561ddaa69ca
|
|
BLAKE2b-256 checksum How to use checksums |
9d67fd7ed22c36b925c79fccf683631822ceb0fcaec4b23ebce84c331583b983
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.5 Darwin/19.2.0
|
Release files / flake8_requests-0.4.0-py3-none-any.whl
| Download URL | flake8_requests-0.4.0-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6fb781d06dbc9b9b54a29a633ea35b91e2d68d291d66523cdd2adc02256ad1c
|
|
BLAKE2b-256 checksum How to use checksums |
38d791f9d996f379ca915aacc8e0c7a36636d3662fb0eb2be1c2762d75aafdfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.17 CPython/3.7.5 Darwin/19.2.0
|
Security for flake8-requests 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.