-
Notifications
You must be signed in to change notification settings - Fork 9
Chongus tracebacks when failed test #17
Copy link
Copy link
Open
Description
Hello, when ruff check fails it also prints out giant tracebacks from pytest (sometimes even ~2.3k lines) just to inform me that I forgot to sort imports, or whatever. I found that there is --tb=short or --tb=line switch for pytest to reduce the clutter, but I would like to see stack traces within other tests if possible. This is an example screenshot of one RuffError (I can't even tell what the error is since it just says pytest_ruff.RuffError) in one file with --tb=short flag.
Would it be please possible to not include the tracebacks without the need to shorten all other tracebacks with the --tb=... flag)?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
