From a4c5e8367f410f026425caf874dc3f3c77a240fc Mon Sep 17 00:00:00 2001 From: "Austin E. Soplata" Date: Tue, 17 Dec 2024 10:53:18 -0500 Subject: [PATCH] fix: describe E722 and remove W504 as per Dylan --- pyproject.toml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a743f2d77..6dff0f8d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,8 +12,9 @@ ignore-words-list = 'tha,nam,sherif,dout' exclude = ["*.ipynb"] [tool.ruff.lint] exclude = ["__init__.py"] -# We don't include rule "W504", which was in our old flake8 "setup.cfg" file, because the ruff -# linter does not detect it. ignore = [ - "E722", # From original flake8 'setup.cfg' file, needed in gui.py and viz.py + "E722", # E722 is a pycodestyle PEP8 style violation called "bare-except". + # It indicates that the best practice of catching a specific + # Exception, as opposed to any, was not followed. For more details, + # see https://www.flake8rules.com/rules/E722.html ] \ No newline at end of file