|
224 | 224 | 'readability/inheritance',
|
225 | 225 | 'readability/multiline_comment',
|
226 | 226 | 'readability/multiline_string',
|
227 |
| - 'readability/namespace', |
| 227 | + 'readability/identifier_spacing', |
228 | 228 | 'readability/identifiers',
|
| 229 | + 'readability/namespace', |
229 | 230 | 'readability/nolint',
|
230 | 231 | 'readability/nul',
|
231 | 232 | 'readability/strings',
|
|
281 | 282 | # flag. By default all errors are on, so only add here categories that should be
|
282 | 283 | # off by default (i.e., categories that must be enabled by the --filter= flags).
|
283 | 284 | # All entries here should start with a '-' or '+', as in the --filter= flag.
|
284 |
| -_DEFAULT_FILTERS = ['-build/include_alpha'] |
| 285 | +_DEFAULT_FILTERS = [ |
| 286 | + '-build/include_alpha', |
| 287 | + '-whitespace/', |
| 288 | + '-readability/braces', |
| 289 | + '-readability/identifier_spacing', |
| 290 | + ] |
285 | 291 |
|
286 | 292 | # The default list of categories suppressed for C (not C++) files.
|
287 | 293 | _DEFAULT_C_SUPPRESSED_CATEGORIES = [
|
@@ -3624,7 +3630,7 @@ def CheckOperatorSpacing(filename, clean_lines, linenum, error):
|
3624 | 3630 |
|
3625 | 3631 | # check any inherited classes don't have a space between the type and the :
|
3626 | 3632 | if Search(r'(struct|class)\s[\w_]*\s+:', line):
|
3627 |
| - error(filename, linenum, 'readability/identifiers', 4, 'There shouldn\'t be a space between class identifier and :') |
| 3633 | + error(filename, linenum, 'readability/identifier_spacing', 4, 'There shouldn\'t be a space between class identifier and :') |
3628 | 3634 |
|
3629 | 3635 | #check type definitions end with t
|
3630 | 3636 | # Look for class declarations and check the final character is a t
|
|
0 commit comments