Miscellaneous-IncludeKind¶
Use the correct include kind “” vs. <>
Required inputs: IR
"" to include user headers, and <> to include system headers.
Example
#include <string> #include <Python.h> #include "MyProgram.h"
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
sys_include_of_header |
Include with “” instead of <>. |
None |
False |
user_include_of_sysheader |
Include with <> instead of “”. |
None |
False |
Options¶
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
enforced_system_headers¶
enforced_system_headers : set[bauhaus.analysis.config.FileGlobPattern] = set()
enforced_user_headers¶
enforced_user_headers : set[bauhaus.analysis.config.FileGlobPattern] = set()