adrienverge / yamllint

A linter for YAML files.
GNU General Public License v3.0
2.79k stars 265 forks source link

build: enable flake8-blind-except in ruff #641

Closed DimitriPapadopoulos closed 6 months ago

coveralls commented 6 months ago

Coverage Status

coverage: 99.822%. remained the same when pulling 59029c1c063dec867f35bdc9d0555f40f965c6e6 on DimitriPapadopoulos:flake8-blind-except into 0d7ae7bf6b852fd739ba385b686ea83ed3164a79 on adrienverge:master.

DimitriPapadopoulos commented 6 months ago

Agreed. The idea is that you must know and document the exceptions raised by a piece code. While this might nice be in simple cases and deep in function call trees, it is not always feasible higher in a function call tree, especially when like here you do want to catch any exception.