TRY003: Avoid specifying long messages outside the exception class #8
ShadowXBoss696
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After spending some time on the linting rule TRY003, I believe that it does not help much but complicates things.
Original:
Updated:
The original script looks more readable and easy to understand, while the updated one needs extra definitions and shows low readability from a developer's point of view.
So, I have considered it better to disable this rule from our checks.
Beta Was this translation helpful? Give feedback.
All reactions