Open
Description
As introduced with #22, we now have a Python, C and C++ linter active in the project.
It already throws quite a bit of errors and has suggestions for code improval.
Some errors are wrong however, the linter just does not know about SCons / PlatformIO specifics.
For now it has been temporarily disabled to mark the linter errors as run errors per 240b9d7, so that we don't get spammed with failure emails.
The code needs to be progressively improved and the linter settings need to be tweaked so that we have sensible output and good linting.
A list of all previous errors can be found in https://github.com/CommunityGD32Cores/GD32Core-New/actions/workflows/linter.yml.
A sample file is attached