iceoryx
iceoryx copied to clipboard
Enable markdownlint in CI and pre-commit hook
Signed-off-by: Ziad Mostafa [email protected]
Pre-Review Checklist for the PR Author
- [x] Code follows the coding style of CONTRIBUTING.md
- [x] Tests follow the best practice for testing
- [ ] Changelog updated in the unreleased section including API breaking changes
- [x] Branch follows the naming format (
iox-123-this-is-a-branch) - [ ] Commits messages are according to this guideline
- [ ] Commit messages have the issue ID (
iox-#123 commit text) - [ ] Commit author matches Eclipse Contributor Agreement (and ECA is signed)
- [ ] Commit messages have the issue ID (
- [x] Update the PR title
- Follow the same conventions as for commit messages
- Link to the relevant issue
- [x] Relevant issues are linked
- [ ] Add sensible notes for the reviewer
- [ ] All checks have passed (except
task-list-completed) - [ ] All touched (C/C++) source code files from
iceoryx_hoofsare added to./clang-tidy-diff-scans.txt - [x] Assign PR to reviewer
Notes for Reviewer
Checklist for the PR Reviewer
- [x] Commits are properly organized and messages are according to the guideline
- [x] ~~Code according to our coding style and naming conventions~~
- [x] ~~Unit tests have been written for new behavior~~
- [x] ~~Public API changes are documented via doxygen~~
- [x] Copyright owner are updated in the changed files
- [x] ~~All touched (C/C++) source code files from
iceoryx_hoofshave been added to./clang-tidy-diff-scans.txt~~ - [x] PR title describes the changes
Post-review Checklist for the PR Author
- [ ] All open points are addressed and tracked via issues
References
- Closes #921
@mossmaurice @dkroenke Just a first commit for enabling the markdownlint tool in pre-commit and also add it to the docker image,did not enable the check now.
Next steps:
- Force fixing the errors found by the linter using
--fixflag - Analyze the error log and break the build when errors are still there.
Am I still missing something ?
Codecov Report
Merging #1890 (374c367) into master (90996dc) will decrease coverage by
0.01%. The diff coverage isn/a.
:exclamation: Current head 374c367 differs from pull request most recent head 709bea8. Consider uploading reports for the commit 709bea8 to get more accurate results
@@ Coverage Diff @@
## master #1890 +/- ##
==========================================
- Coverage 74.05% 74.05% -0.01%
==========================================
Files 404 404
Lines 15924 15924
Branches 2243 2243
==========================================
- Hits 11793 11792 -1
Misses 3422 3422
- Partials 709 710 +1
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 73.72% <ø> (-0.01%) |
:arrow_down: |
| unittests_timing | 14.73% <ø> (-0.02%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
@zmostafa are you planing to continue working on this PR?
@mossmaurice Do we still need the markdown linter? We concluded that we can postpone this since we also postponed the release.
cc. @elBoberido
@mossmaurice Do we still need the markdown linter? We concluded that we can postpone this since we also postponed the release.
@zmostafa Yes, the markdown linter would be much appreciated. As we decided to postpone the 3.0 release until new user- experienceable features will be added, this does not have a super high prio.
@mossmaurice @zmostafa okay, it has not high priority but it also does not mean one can not work any time on this. I just wanted to be sure this PR does not stay open forever without the intention to continue to work on it. Take you time an finish it comfortably.