mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-08-06 06:02:39 +03:00
Add Board Header Check Action (#2519)
* Add action to check board headers when modified * Fix invalid escape warning * Check for more board header errors before exiting script * Also run when action file changes * Add back newline at end of check_all_board_headers.sh * Remove python install step * `e.__str__()` -> `str(e)`
This commit is contained in:
@@ -26,7 +26,7 @@ if sys.version_info < (3, 11):
|
||||
# Python <3.11 doesn't have ExceptionGroup, so define a simple one
|
||||
class ExceptionGroup(Exception):
|
||||
def __init__(self, message, errors):
|
||||
message += "\n" + "\n".join(e.__str__() for e in errors)
|
||||
message += "\n" + "\n".join(str(e) for e in errors)
|
||||
super().__init__(message)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
Reference in New Issue
Block a user