mirror of https://github.com/scrapy/scrapy.git
ignoring E203 flake8 error
ignoring implicit-str-concat pylint error fixing pylint comment on test_request_cb_kwargs.py
This commit is contained in:
parent
44160552ef
commit
1a3db81492
2
.flake8
2
.flake8
|
|
@ -1,7 +1,7 @@
|
|||
[flake8]
|
||||
|
||||
max-line-length = 119
|
||||
ignore = W503
|
||||
ignore = W503, E203
|
||||
|
||||
exclude =
|
||||
docs/conf.py
|
||||
|
|
|
|||
1
pylintrc
1
pylintrc
|
|
@ -28,6 +28,7 @@ disable=abstract-method,
|
|||
fixme,
|
||||
function-redefined,
|
||||
global-statement,
|
||||
implicit-str-concat,
|
||||
import-error,
|
||||
import-outside-toplevel,
|
||||
import-self,
|
||||
|
|
|
|||
|
|
@ -106,8 +106,8 @@ class KeywordArgumentsSpider(MockServerSpider):
|
|||
self.crawler.stats.inc_value("boolean_checks", 3)
|
||||
elif response.url.endswith("/general_without"):
|
||||
self.checks.append(
|
||||
kwargs == {}
|
||||
) # pylint: disable=use-implicit-booleaness-not-comparison
|
||||
kwargs == {} # pylint: disable=use-implicit-booleaness-not-comparison
|
||||
)
|
||||
self.crawler.stats.inc_value("boolean_checks")
|
||||
|
||||
def parse_no_kwargs(self, response):
|
||||
|
|
|
|||
Loading…
Reference in New Issue