mirror of
https://github.com/espressif/openthread.git
synced 2026-08-23 02:39:52 +00:00
[style] apply IWYU to public headers (#11580)
It would be easier to use OpenThread public headers if they are self-contained and follows the IWYU style guide. This commit fixes some style issues to make the public headers self-contained and IWYU. The existing pretty check is also extended to verify the OpenThread public headers are self-contained and follows IWYU.
This commit is contained in:
@@ -63,13 +63,14 @@ jobs:
|
||||
- name: Bootstrap
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get --no-install-recommends install -y clang-format-14 clang-tidy-14 shellcheck
|
||||
sudo apt-get --no-install-recommends install -y clang-format-14 clang-tidy-14 shellcheck iwyu
|
||||
python3 -m pip install yapf==0.31.0
|
||||
sudo snap install shfmt
|
||||
npm install [email protected]
|
||||
- name: Check
|
||||
run: |
|
||||
script/make-pretty check
|
||||
script/check-iwyu-public-header
|
||||
|
||||
markdown-lint-check:
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
Reference in New Issue
Block a user