Skip to content

[CI][cppcheck] 需要根据ignore_format 过滤掉不需要扫描的文件夹 #7458

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

Closed
mysterywolf opened this issue May 7, 2023 · 4 comments
Labels
good first issue Good for newcomers 新手任务

Comments

@mysterywolf
Copy link
Member

No description provided.

@supperthomas supperthomas added the good first issue Good for newcomers 新手任务 label May 7, 2023
@supperthomas
Copy link
Member

supperthomas commented May 8, 2023

https://github.com/RT-Thread/rt-thread/blob/master/.github/workflows/static_code_analysis.yml

添加对.ignore_format.yml
路径检查,如果在ignore路径中,就不去启用静态检查

@supperthomas
Copy link
Member

supperthomas commented May 8, 2023

遍历一下ignore_format.yml文件找到所有需要忽略的文件夹,搞个大数组,然后过滤~

@supperthomas
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers 新手任务
Projects
None yet
Development

No branches or pull requests

2 participants