{"id":13735239,"url":"https://github.com/stummjr/flake8-scrapy","last_synced_at":"2025-05-03T02:30:38.219Z","repository":{"id":33118888,"uuid":"151003999","full_name":"stummjr/flake8-scrapy","owner":"stummjr","description":"A Flake8 plugin to catch common issues on Scrapy spiders","archived":false,"fork":false,"pushed_at":"2022-04-11T15:31:51.000Z","size":25,"stargazers_count":19,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T22:46:08.322Z","etag":null,"topics":["flake8","flake8-plugin","linter","linter-plugin","scrapy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stummjr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-30T20:27:09.000Z","updated_at":"2024-04-22T17:19:41.000Z","dependencies_parsed_at":"2022-08-07T20:00:45.180Z","dependency_job_id":null,"html_url":"https://github.com/stummjr/flake8-scrapy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stummjr%2Fflake8-scrapy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stummjr%2Fflake8-scrapy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stummjr%2Fflake8-scrapy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stummjr%2Fflake8-scrapy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stummjr","download_url":"https://codeload.github.com/stummjr/flake8-scrapy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252133648,"owners_count":21699570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flake8","flake8-plugin","linter","linter-plugin","scrapy"],"created_at":"2024-08-03T03:01:04.584Z","updated_at":"2025-05-03T02:30:37.951Z","avatar_url":"https://github.com/stummjr.png","language":"Python","funding_links":[],"categories":["Library-specific checks"],"sub_categories":[],"readme":"# scrapy-flake8\n![](https://github.com/stummjr/flake8-scrapy/workflows/CI/badge.svg)\n[![Downloads](https://pepy.tech/badge/flake8-scrapy)](https://pepy.tech/project/scrapy-fieldstats)\n\nA Flake8 plugin to catch common issues on Scrapy spiders.\n\n## Issue types\n\n| Code  | Meaning |\n| ---   | --- |\n| SCP01 | There are URLs in `start_urls` whose netloc is not in `allowed_domains` |\n| SCP02 | There are URLs in `allowed_domains` |\n| SCP03 | Usage of `urljoin(response.url, '/foo')` instead of `response.urljoin('/foo')` |\n| SCP04 | Usage of `Selector(response)` in callback |\n\nThis is a work in progress, so new issues will be added to this list.\n\n\n## Installation\n\nTo run this in your project, please make sure you have flake8 installed first:\n\n```\n$ pip install flake8\n```\n\nAnd then install flake8-scrapy:\n\n```\n$ pip install flake8-scrapy\n```\n\nNow, all you have to do is run it on your project:\n\n```\n$ flake8\n```\n\nAnd Flake8 will run the checks defined in this plugin.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstummjr%2Fflake8-scrapy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstummjr%2Fflake8-scrapy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstummjr%2Fflake8-scrapy/lists"}