(conf,data)
| 280 | process_data(conf,data,cli,debugprint) |
| 281 | |
| 282 | def check_file_naming(conf,data): |
| 283 | for source_file in data.files: |
| 284 | basename = os.path.basename(source_file) |
| 285 | good = False |
| 286 | for exp in conf.file: |
| 287 | good |= bool(re.match(exp, source_file)) |
| 288 | good |= bool(re.match(exp, basename)) |
| 289 | if not good: |
| 290 | mockToken = DataStruct(source_file, 0, basename) |
| 291 | reportNamingError(mockToken, 'File name ' + basename + ' violates naming convention') |
| 292 | |
| 293 | def check_namespace_naming(conf,data): |
| 294 | for tk in data.rawTokens: |
no test coverage detected