Andrey Rakhmatullin
|
cec0aeca58
|
Bump ruff, switch from black to ruff-format (#6631)
|
2025-01-27 11:07:09 +01:00 |
Andrey Rakhmatullin
|
b70443f2d0
|
Split ruff and pylint ignores into two categories, some pylint cleanup.
|
2025-01-02 01:03:42 +05:00 |
igeni
|
f7bf3f726e
|
modified string's concat to f-strings (#6296)
|
2024-04-01 15:37:23 +02:00 |
Jalil SA
|
a038faf11c
|
fix: tests/tes_selector.py
|
2023-05-02 19:40:04 -06:00 |
Jalil SA
|
4bb99fd2f3
|
fix: pylint
|
2023-05-02 19:26:20 -06:00 |
Jalil SA
|
a604dfae5c
|
update tests
|
2023-05-02 19:19:00 -06:00 |
Jalil SA
|
3d29f20fc2
|
added tests for jmespath
|
2023-04-28 23:54:09 -06:00 |
Jalil SA
|
a5c1ef8276
|
sort imports with isort
|
2023-01-25 14:25:15 -06:00 |
Emmanuel Rondan
|
e211ec0aa2
|
adding black formatter to all the code
|
2022-11-29 11:30:46 -03:00 |
Ammar Najjar
|
58ca8bbf6d
|
Use f-strings (#4307)
|
2020-08-26 07:11:05 +02:00 |
Adrián Chaves
|
890b2138a6
|
Remove the u prefix from strings
|
2020-07-30 13:39:30 +02:00 |
Eugenio Lacuesta
|
9aea1f0961
|
Remove backslash (tests)
|
2020-07-09 11:04:46 -03:00 |
Eugenio Lacuesta
|
25eeb77ba6
|
Merge remote-tracking branch 'upstream/master' into flake8-max-line-length
|
2020-05-06 16:52:17 -03:00 |
Eugenio Lacuesta
|
fe0c582ee0
|
Flake8: remove E127 in tests (continuation line over-indented for visual indent)
|
2020-05-06 09:49:10 -03:00 |
Eugenio Lacuesta
|
182394bcec
|
E501 compliance (tests)
|
2020-03-22 23:29:30 -03:00 |
Adrián Chaves
|
a2bf340bab
|
Remove unused imports
|
2019-11-21 14:21:17 +01:00 |
Eugenio Lacuesta
|
09e27d2d2e
|
[Tests] Monkey patch unittest.TestCase to prevent DeprecationWarning(s)
|
2019-07-13 19:26:59 -03:00 |
nyov
|
7a398b7086
|
Deprecation removals for Scrapy 1.7
Removing deprecations of 2015 and prior (pre-1.1)
|
2019-07-06 13:41:56 +00:00 |
Mikhail Korobov
|
53da56c8dc
|
TST update tests to use get/getall/attrib instead of extract
|
2018-09-12 17:57:27 +05:00 |
Chomba Ng'ang'a
|
4ca61a2051
|
Update deprecated test aliases
- change ``failIf`` to ``assertFalse``
- change ``asertEquals`` to ``assertEqual``
- change ``assert_`` to ``assertTrue``
https://docs.python.org/2/library/unittest.html#deprecated-aliases
|
2017-08-09 12:52:10 +02:00 |
Νικόλαος-Διγενής Καραγιάννης
|
643dbeffcf
|
Selector should not receive both response and text
|
2016-07-30 10:35:16 +03:00 |
Elias Dorneles
|
766c255152
|
upgrade parsel and add shim for deprecated selectorlist methods
|
2015-08-11 15:20:33 -03:00 |
Elias Dorneles
|
e50610bd3a
|
set base_url in kwargs to be fully backward compatible
|
2015-08-11 14:09:34 -03:00 |
Elias Dorneles
|
8ef5aa2ffc
|
using bytes for response body in tests
|
2015-08-11 14:09:34 -03:00 |
Elias Dorneles
|
3a03ef7c08
|
cleanup tests for selectors and translators
|
2015-08-11 14:09:34 -03:00 |
Elias Dorneles
|
12579b9afa
|
warning when ambiguous root arguments and minor cleanups
|
2015-08-11 14:09:34 -03:00 |
Elias Dorneles
|
2fe6d128f5
|
upgrade parsel and using promoted root attribute
|
2015-08-11 14:09:16 -03:00 |
Elias Dorneles
|
17d7347a36
|
update minimal parsel version, add deprecated classes for csstranslator modules, fix test
|
2015-08-11 14:09:00 -03:00 |
Elias Dorneles
|
01d948f0fd
|
remove selector support for LxmlDocument DOM cache and add deprecation warning for _root argument
|
2015-08-11 14:08:43 -03:00 |
Elias Dorneles
|
ce21884a97
|
migrating scrapy Selector to use Parsel
|
2015-08-11 14:08:43 -03:00 |
Berker Peksag
|
8a48d9c6a8
|
Ignore ScrapyDeprecationWarning warnings properly.
Conflicts:
tests/test_utils_deprecate.py
|
2015-06-09 18:22:03 +03:00 |
Mikhail Korobov
|
cc2258b2bb
|
Merge pull request #1145 from bosnj/master
[MRG+1] default return value for extract_first
|
2015-05-21 22:03:54 +05:00 |
bosnj
|
8ae05478be
|
added docs and test case, fixed handling empty string vs None
|
2015-05-04 21:22:17 +02:00 |
Nikolaos-Digenis Karagiannis
|
bf301b7328
|
encode invalid xpath with unicode_escape under PY2
The exception quotes an xpath string
which may be unicode.
|
2015-04-10 22:23:40 +03:00 |
Mateusz Golewski
|
f92bc09bf4
|
Add re_first() to SelectorList and iflatten() to utils.python
|
2015-03-18 21:11:08 -03:00 |
Mateusz Golewski
|
2742b4d8c2
|
Add tests to extract_first()
|
2015-03-18 21:11:08 -03:00 |
Daniel Graña
|
242c08553f
|
move tests under root dir
|
2014-07-30 19:45:08 -03:00 |