Skip to content

Fix linter errors #24

Open
Open
@maxgerhardt

Description

@maxgerhardt

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

4_Lint Code Base.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions