Skip to main content

No project description provided

Project description

scrapy-flake8

A Flake8 plugin to catch common issues on Scrapy spiders.

Issue types

Code Meaning
SCP01 There are URLs in start_urls whose netloc is not in allowed_domains
SCP02 There are URLs in allowed_domains
SCP03 Usage of urljoin(response.url, '/foo') instead of response.urljoin('/foo')
SCP04 Usage of Selector(response) in callback

This is a work in progress, so new issues will be added to this list.

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-scrapy-0.0.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8_scrapy-0.0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file flake8-scrapy-0.0.1.tar.gz.

File metadata

  • Download URL: flake8-scrapy-0.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for flake8-scrapy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3757080162c2f464d7deb422ff76530bcb577665b16772d795f79a0b6a79c807
MD5 87ca79ff49dcd3928d94c1a2b8f28259
BLAKE2b-256 9d21bf245198e5f2c74f2153c7492d7abd51436d0e71effdd548bffc91f4144d

See more details on using hashes here.

File details

Details for the file flake8_scrapy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: flake8_scrapy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for flake8_scrapy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b33bdec20ac560f80808abb1256cf686a0302e4b9f5adad340377063564ad841
MD5 b31821244fa0fb53aa10b8b7449f4783
BLAKE2b-256 6700ce812744900938c9c9078a10043ad85be800f4c35f504bc7a6a3d4a1b0e8

See more details on using hashes here.

Supported by

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