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