anubhav
ca345a3b73
Flexible severity of logging level when items are dropped ( #6608 )
2025-01-15 11:08:18 +01:00
Andrey Rakhmatullin
93644f2c30
Add flake8-pie rules to ruff.
2024-12-12 20:33:35 +05:00
Andrey Rakhmatullin
282767f23b
Bump black.
2024-02-28 14:30:38 +05:00
Andrey Rakhmatullin
c5885fc13b
Full typing for scrapy/exceptions.py.
2023-08-09 23:56:16 +04:00
Andrey Rakhmatullin
d31829b72f
More typing for scrapy/utils.
2023-08-06 00:35:33 +04:00
Andrey Rakhmatullin
c7730627a0
Typing improvements for some core components ( #5889 )
2023-04-11 13:47:41 +02:00
Emmanuel Rondan
e211ec0aa2
adding black formatter to all the code
2022-11-29 11:30:46 -03:00
Marc Hernández
336f19f5cc
Change super syntax ( #4707 )
2020-08-04 20:42:01 +02:00
Eugenio Lacuesta
276721a5dc
Stop response download
2020-05-20 14:46:26 -03:00
Adrián Chaves
f261cf65e9
Add missing blank lines between functions and classes
...
Also fixed 2 unrelated Flake8 issues
2019-11-18 17:16:09 +01:00
Eugenio Lacuesta
9c256cf693
Undocument _InvalidOutput exception
2017-03-10 15:41:57 -03:00
Eugenio Lacuesta
706ed0e049
Spider middleware: process_spider_exception on generators
2017-03-01 12:01:53 -03:00
alexanderlukanin13
ddcd571000
pylint cleanup: unused imports and old-style exceptions
2013-10-18 19:23:45 +06:00
Alex Cepoi
94629a1f08
proper unittest-like output for scrapy contracts
2012-10-27 23:26:40 +02:00
Alex Cepoi
bf8dc61fb7
SEP-017 contracts: pretty-printing and docs
2012-09-10 23:17:27 +02:00
Alex Cepoi
6f1a5d8db6
SEP-017 contracts: various minor changes
2012-08-29 18:31:10 +02:00
Alex Cepoi
901987154e
SEP-017 contracts
...
* load contracts from settings
* refactored contracts manager
* fixed callback bug, which caused responses to be evaluated with a
wrong callback sometimes
* "returns" contract
2012-08-24 16:42:13 +02:00
Pablo Hoffman
0eaa1d95f6
replaced DeprecationWarning by a new ScrapyDeprecationWarning category, since the default DeprecationWarning is silenced on Python 2.7+
2011-08-08 10:39:53 -03:00
Pablo Hoffman
4fde1ef94d
added CloseSpider exception, to manually close spiders
2011-07-12 14:24:10 -03:00
Pablo Hoffman
048044c1f8
A couple of changes to fix #303 :
...
* improved detection of inside-project environments
* make list command faster (by only instantiating the spider manger)
* print a warning when extensions (middlewares, etc) are disabled with a message on NotConfigured exception
* assert that scrapy configuration hasn't been loaded in scrapyd.runner
* simplified IgnoreRequest exception, to avoid loading settings when importing scrapy.exceptions
* added test to make sure certain modules don't cause scrapy.conf module to be
loaded, to ensure the scrapyd runner bootstraping performs properly
2011-01-05 15:59:43 -02:00
Pablo Hoffman
59f09c50e4
Yet another scrapy.cmdline code refactoring by removing --settings and --version options, adding a version command and adding a UsageError exception for signaling usage errors. Updated all commands accordingly
2010-08-28 18:06:51 -03:00
Pablo Hoffman
c359a34d7d
moved scrapy.core.exceptions to scrapy.exceptions, keeping backwards compatibility
...
--HG--
rename : scrapy/core/exceptions.py => scrapy/exceptions.py
2010-08-10 17:36:48 -03:00