mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-17 13:12:37 +00:00
Maplint tool now has proper github action error messages (#72920) ## About The Pull Request The tool added in #72372 is pretty awesome. The output is uhh cryptic though. I had to read the source code to realize the (line 382) or whatever part of the message was the dmm line number and there's stack traces everywhere. I've made it support github action error messages so now you get this beauty if you mess up:  Or, in the run summary:  Errors parsing the lint yml's will also output github action errors, although the line number will always be 1 since the yaml parser discards line numbers to my knowledge. In the midst of doing this, I made the error type contain the file and line info, and added a bunch of type hints in the midst of trying to understand Mothblock's code. Note that for power users, the default behavior is still colored terminal text; `--github` is added by the CI suite to enable this behavior. ## Why It's Good For The Game Much easier to see where the errors are and what they are (who even knows what a 'pop' is? The tg game code calls them grid models.) ## Changelog Nothing player-facing.
5.8 KiB
5.8 KiB