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 hashes)

Uploaded Source

Built Distribution

flake8_scrapy-0.0.1-py3-none-any.whl (4.7 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