Skip to content

Conversation

rugeGerritsen
Copy link
Contributor

It is very common to see a comment stating that the "No Space Before Opening Brackets" style guide is not followed. To avoid putting this burdon on reviewers, let the compliance check catch this instead.

Checking for tab indentation was also very simple, so also added this.

Running this check on all files finds many violations:

  • Space before opening brackets: 141 violations
  • Tab indentation: 420 violations

Fixing these will not be done as part of this PR. Adding the check will prevent us from adding new violations.

(cherry picked from commit e9abaf4)

It is very common to see a comment stating that the
"No Space Before Opening Brackets" style guide is not followed.
To avoid putting this burdon on reviewers, let the compliance
check catch this instead.

Checking for tab indentation was also very simple, so also added
this.

Running this check on all files finds many violations:
 - Space before opening brackets: 141 violations
 - Tab indentation: 420 violations

Fixing these will not be done as part of this PR. Adding the check
will prevent us from adding new violations.

Signed-off-by: Rubin Gerritsen <[email protected]>
(cherry picked from commit e9abaf4)
@rlubos rlubos merged commit e2ea7ff into nrfconnect:main Oct 6, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants