From c61b54ffdd963b87a755c3184cb54766d0b7e65a Mon Sep 17 00:00:00 2001 From: Noortheen Raja Date: Mon, 29 Nov 2021 21:44:56 +0530 Subject: [PATCH] fix: failing qa because latest version to flake8-bugbear see https://github.com/PyCQA/flake8-bugbear/issues/208 --- setup.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.cfg b/setup.cfg index 27db6ffb94..22f934c79c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -85,6 +85,10 @@ per-file-ignores = xonsh/winutils.py:E305, # B001-bare-except xonsh/xoreutils/*.py:E722 E305,B001 + # docstring is considered as invalid statement by bugbear + # Found useless expression. Either assign it to a variable or remove it. + # this can be removed once issue - https://github.com/PyCQA/flake8-bugbear/issues/208 is solved + xonsh/parsers/completion_context.py: B018 # pydocstyle plugin docstring-convention=numpy