I wanted to exclude some warnings but this does not seem to work: ....snip....... # W0002: "c_ansi" exclusion: categories:messages: - W0833: "c_builtin" - W0442: "c_builtin" - W0511: "c_builtin" - W0167: "c_builtin" - C1001: "c_builtin" - W0104: "c_builtin" - W1073: "c_builtin" - W0168: "c_builtin" - W0147: "c_builtin" - W0723: "c_builtin" - W9003: "c_builtin" - W0100: "c_builtin" - W0413: "c_builtin" # Project-wide code check inclusion settings. ....snap..............
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
This was my mistake due to lack of yaml knowledge This works: My code ......snip........... exclusion: messages: W0833: "c_builtin" W0442: "c_builtin" W0511: "c_builtin" W0167: "c_builtin" C1001: "c_builtin" W0104: "c_builtin" W1073: "c_builtin" W0168: "c_builtin" W0147: "c_builtin" W0723: "c_builtin" W9003: "c_builtin" W0100: "c_builtin" W0413: "c_builtin" .......snap........... My code
I wanted to exclude some warnings but this does not seem to work:
....snip.......
# W0002: "c_ansi"
exclusion:
categories:messages:
- W0833: "c_builtin"
- W0442: "c_builtin"
- W0511: "c_builtin"
- W0167: "c_builtin"
- C1001: "c_builtin"
- W0104: "c_builtin"
- W1073: "c_builtin"
- W0168: "c_builtin"
- W0147: "c_builtin"
- W0723: "c_builtin"
- W9003: "c_builtin"
- W0100: "c_builtin"
- W0413: "c_builtin"
# Project-wide code check inclusion settings.
....snap..............
This was my mistake due to lack of yaml knowledge
This works:
My code
......snip...........
exclusion:
messages:
W0833: "c_builtin"
W0442: "c_builtin"
W0511: "c_builtin"
W0167: "c_builtin"
C1001: "c_builtin"
W0104: "c_builtin"
W1073: "c_builtin"
W0168: "c_builtin"
W0147: "c_builtin"
W0723: "c_builtin"
W9003: "c_builtin"
W0100: "c_builtin"
W0413: "c_builtin"
.......snap...........
My code