Skip to content

Commit

Permalink
fix: describe E722 and remove W504 as per Dylan
Browse files Browse the repository at this point in the history
  • Loading branch information
asoplata committed Dec 17, 2024
1 parent 2295fc8 commit a4c5e83
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
]

0 comments on commit a4c5e83

Please sign in to comment.