Skip to content

Commit f7fd31b

Browse files
Merge pull request #12 from FreeRTOS/Uncrustify
Uncrustify source files
2 parents d60fd28 + b97d080 commit f7fd31b

File tree

156 files changed

+24149
-21698
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

156 files changed

+24149
-21698
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,22 @@ jobs:
4646
# path: "build/coverage.info"
4747
# min_coverage: 99
4848
# exclude: "**/*test*"
49+
50+
formatting:
51+
runs-on: ubuntu-latest
52+
steps:
53+
- uses: actions/checkout@v2
54+
- name: Install Uncrustify
55+
run: sudo apt-get install uncrustify
56+
- name: Run Uncrustify
57+
run: find . -iname "*.[hc]" -exec uncrustify --check -c tools/uncrustify.cfg {} +
58+
- name: Check For Trailing Whitespace
59+
run: |
60+
set +e
61+
grep --exclude="README.md" -rnI -e "[[:blank:]]$" .
62+
if [ "$?" = "0" ]; then
63+
echo "Files have trailing whitespace."
64+
exit 1
65+
else
66+
exit 0
67+
fi

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ If you discover a potential security issue in this project we ask that you notif
1717

1818
## Submitting a bugs/feature request
1919
Have a bug to report or feature to request? Follow these steps:
20-
1. Search on the [FreeRTOS Community Support Forums](https://forums.freertos.org/) and [GitHub issue tracker](https://github.com/FreeRTOS/FreeRTOS/issues?utf8=%E2%9C%93&q=is%3Aissue) to be sure this hasn't been already reported or discussed.
20+
1. Search on the [FreeRTOS Community Support Forums](https://forums.freertos.org/) and [GitHub issue tracker](https://github.com/FreeRTOS/FreeRTOS/issues?utf8=%E2%9C%93&q=is%3Aissue) to be sure this hasn't been already reported or discussed.
2121
2. If your search turns up empty, create a new topic in the [forums](https://forums.freertos.org/) and work with the community to help clarify issues or refine the idea. Include as many of the details listed below.
2222
3. Once the community has had time to discuss and digest, we welcome you to create an [issue](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/issues) to report bugs or suggest features.
2323

@@ -43,8 +43,8 @@ To send us a pull request, please:
4343
2. Modify the source; focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
4444
3. Follow the [coding style guide](https://www.freertos.org/FreeRTOS-Coding-Standard-and-Style-Guide.html).
4545
4. Commit to your fork using clear commit messages.
46-
5. Send us a pull request, answering any default questions in the pull request interface.
47-
NOTE: Please make sure the default option (Allow edits from maintainers) is left checked.
46+
5. Send us a pull request, answering any default questions in the pull request interface.
47+
NOTE: Please make sure the default option (Allow edits from maintainers) is left checked.
4848
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
4949

5050
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and

0 commit comments

Comments
 (0)