Scrapy, a fast high-level web crawling & scraping framework for Python.
Remove flake8.
Andrey Rakhmatullinba30f64268c0
diff --git a/.flake8 b/.flake8deleted file mode 100644index c4814f13a..000000000--- a/.flake8+++ /dev/null@@ -1,82 +0,0 @@-[flake8]--max-line-length = 119-extend-select = TC, TC1-ignore =- # black disagrees with flake8 about these- E203, E501, E701, E704, W503-- # Assigning to `os.environ` doesn't clear the environment.- B003- # Do not use mutable data structures for argument defaults.- B006- # Loop control variable not used within the loop body.- B007- # Do not perform function calls in argument defaults.- B008- # return/continue/break inside finally blocks cause exceptions to be- # silenced.- B012- # Star-arg unpacking after a keyword argument is strongly discouraged- B026- # No explicit stacklevel argument found.- B028-- # docstring does contain unindexed parameters- P102- # other string does contain unindexed parameters- P103-- # Missing docstring in public module- D100- # Missing docstring in public class- D101- # Missing docstring in public method- D102- # Missing docstring in public function- D103- # Missing docstring in public package- D104- # Missing docstring in magic method- D105- # Missing docstring in public nested class- D106- # Missing docstring in __init__- D107- # One-line docstring should fit on one line with quotes- D200- # No blank lines allowed after function docstring- D202- # 1 blank line required between summary line and description- D205- # Multi-line docstring closing quotes should be on a separate line- D209- # First line should end with a period- D400- # First line should be in imperative mood; try rephrasing- D401- # First line should not be the function's "signature"- D402- # First word of the first line should be properly capitalized- D403-- # Annotation in typing.cast() should be a string literal- TC006-exclude =- docs/conf.py--per-file-ignores =-# Exclude files that are meant to provide top-level imports-# E402: Module level import not at top of file-# F401: Module imported but unused- scrapy/__init__.py:E402- scrapy/core/downloader/handlers/http.py:F401- scrapy/http/__init__.py:F401- scrapy/linkextractors/__init__.py:E402,F401- scrapy/selector/__init__.py:F401- scrapy/spiders/__init__.py:E402,F401- tests/CrawlerRunner/change_reactor.py:E402-- # Issues pending a review:- scrapy/utils/url.py:F403,F405- tests/test_loader.py:E741diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex ec8693c00..49db3f610 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -9,17 +9,6 @@ repos:- id: banditargs: ["-c", "pyproject.toml"]additional_dependencies: ["bandit[toml]"]-- repo: https://github.com/PyCQA/flake8- rev: 7.1.0- hooks:- - id: flake8- additional_dependencies:- - flake8-bugbear- - flake8-comprehensions- - flake8-debugger- - flake8-docstrings- - flake8-string-format- - flake8-type-checking- repo: https://github.com/psf/black.gitrev: 24.4.2hooks: