ignoring E203 flake8 error

ignoring implicit-str-concat pylint error
fixing pylint comment on test_request_cb_kwargs.py
This commit is contained in:
Emmanuel Rondan 2022-11-29 15:06:54 -03:00
parent 44160552ef
commit 1a3db81492
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[flake8]
max-line-length = 119
ignore = W503
ignore = W503, E203
exclude =
docs/conf.py

View File

@ -28,6 +28,7 @@ disable=abstract-method,
fixme,
function-redefined,
global-statement,
implicit-str-concat,
import-error,
import-outside-toplevel,
import-self,

View File

@ -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):