(env, options)
| 232 | |
| 233 | |
| 234 | def CMD_LINT(env, options): |
| 235 | errors = env.get_lint_errors() |
| 236 | if errors: |
| 237 | printerr(f"Found {len(errors)} error{'s' if len(errors)>1 else ''}:") |
| 238 | for component, error in errors: |
| 239 | printerr(error, component, sep="\t") |
| 240 | return 1 |
| 241 | |
| 242 | printerr("No errors found, congrats") |
| 243 | return 0 |
| 244 | |
| 245 | |
| 246 | def CMD_COMPONENTS(env, options): |
nothing calls this directly
no test coverage detected