Skip to content

Conversation

nashif
Copy link
Owner

@nashif nashif commented Mar 24, 2021

Signed-off-by: Anas Nashif [email protected]

Flavio Ceolin added 6 commits March 25, 2021 07:41
This coccinelle script can check some violations for rule 5.7.
It can identify things like:

struct device *device

But it is not capable to identify:

struct test { ... }

...

int test;

Signed-off-by: Flavio Ceolin <[email protected]>
This coccinelle script can check some violations for rule 21.2.
Currently it is checking the follow reserved names:

"remove", "rewind", "malloc", "free", "exp", "signal"

It can easily be extended in the future though.

Signed-off-by: Flavio Ceolin <[email protected]>

Rebnase
This scripts receives the same parameter of what_changed.py. And run
coccinelle scripts for code guideline compliance in the given git
commits. e.g: ./guideline_check.py --commits origin/master..HEAD

Signed-off-by: Flavio Ceolin <[email protected]>
Add information about the guideline number in the script checking a
identifier length.

Signed-off-by: Flavio Ceolin <[email protected]>
Add parameter to write the script output to a file.

Signed-off-by: Flavio Ceolin <[email protected]>
Suppress pylint false positive on 'sh' library.

Signed-off-by: Flavio Ceolin <[email protected]>
Signed-off-by: Anas Nashif <[email protected]>
nashif added 2 commits March 25, 2021 09:53
Signed-off-by: Anas Nashif <[email protected]>
Signed-off-by: Anas Nashif <[email protected]>
Signed-off-by: Anas Nashif <[email protected]>
Signed-off-by: Anas Nashif <[email protected]>
@nashif nashif force-pushed the master branch 10 times, most recently from c8f5d05 to 9c871fb Compare April 21, 2021 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant