Represents an exception to a banned header rule. Attributes: file_pattern: Glob pattern matching allowed file paths (e.g., "**/*.cpp", "inplacenew.h") reason: Human-readable explanation for why this exception exists
| 184 | |
| 185 | @dataclass(frozen=True) |
| 186 | class HeaderException: |
| 187 | """Represents an exception to a banned header rule. |
| 188 | |
| 189 | Attributes: |
| 190 | file_pattern: Glob pattern matching allowed file paths (e.g., "**/*.cpp", "inplacenew.h") |
| 191 | reason: Human-readable explanation for why this exception exists |
| 192 | """ |
| 193 | |
| 194 | file_pattern: str |
| 195 | reason: str |
| 196 | |
| 197 | |
| 198 | EXCEPTION_RULES: dict[str, list[HeaderException]] = { |
no outgoing calls
no test coverage detected