misc: fix pylint errors with 2.10.2 version (#56489)
gitea-wip/wcs/pipeline/head Build started...
Details
gitea-wip/wcs/pipeline/head Build started...
Details
This commit is contained in:
parent
e704234efb
commit
1cc3c9ec31
|
@ -53,6 +53,10 @@ disable=
|
||||||
unused-argument
|
unused-argument
|
||||||
|
|
||||||
|
|
||||||
|
[TESTOPTIONS]
|
||||||
|
ignored-parents=wcs.qommon.TenantAwareThread
|
||||||
|
|
||||||
|
|
||||||
[REPORTS]
|
[REPORTS]
|
||||||
output-format=parseable
|
output-format=parseable
|
||||||
include-ids=yes
|
include-ids=yes
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -40,7 +40,7 @@ deps =
|
||||||
django-ratelimit<3
|
django-ratelimit<3
|
||||||
pyproj
|
pyproj
|
||||||
astroid!=2.5.7
|
astroid!=2.5.7
|
||||||
pylint<2.10
|
pylint
|
||||||
Quixote>=3.0,<3.2
|
Quixote>=3.0,<3.2
|
||||||
pre-commit
|
pre-commit
|
||||||
pyzbar
|
pyzbar
|
||||||
|
|
|
@ -205,7 +205,7 @@ class CompatWcsPublisher(WcsPublisher):
|
||||||
output = self.try_publish(request)
|
output = self.try_publish(request)
|
||||||
except PublishError as exc:
|
except PublishError as exc:
|
||||||
output = self.finish_interrupted_request(exc)
|
output = self.finish_interrupted_request(exc)
|
||||||
except Exception as exc:
|
except Exception:
|
||||||
output = self.finish_failed_request()
|
output = self.finish_failed_request()
|
||||||
response = request.response
|
response = request.response
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue