Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix formatting warnings and also formatting checker #7778

Merged
merged 1 commit into from
Feb 14, 2020

Conversation

Myoldmopar
Copy link
Member

Formatting warnings were just because tabs were found in a unit test file. These are fixed here.

I found that the format checker was reporting out messages to CI, but using "filename" instead of just "file". I fixed that here as well, and now it should properly point developers to the exact line that was problematic.

Reviewer: If you want to run this locally, just make sure you have clang-format installed, and from the root of the repository, run ./scripts/dev/verify_formatting.sh. It shouldn't report anything. Then add a tab character to a src or tst file and re-run. It should report a JSON warning about the character.

@Myoldmopar Myoldmopar added the DoNotPublish Includes changes that shouldn't be reported in the changelog label Feb 14, 2020
@Myoldmopar Myoldmopar requested a review from mitchute February 14, 2020 15:57
@mitchute
Copy link
Collaborator

@Myoldmopar fix verified on Linux. Merging.

@mitchute mitchute merged commit 801461f into develop Feb 14, 2020
@mitchute mitchute deleted the FixFormattingWarnings branch February 14, 2020 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DoNotPublish Includes changes that shouldn't be reported in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants