Skip to main content

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

  • R2C701="flake8_requests.no_auth_over_http:NoAuthOverHttp"
  • R2C702="flake8_requests.use_timeout:UseTimeout"
  • R2C703="flake8_requests.use_scheme:UseScheme"

Project details


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.2.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

flake8_requests-0.1.2-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page