ci: fix typo #379
style.yml
on: push
Run linters
10s
Check for License headers
7s
Annotations
102 errors and 1 warning
/home/runner/work/seal5/seal5/seal5/flow.py#L783
base_tag = f"seal5-{self.name}-base"
if int(stage) > 0:
prev_tag = f"seal5-{self.name}-stage{int(stage)-1}"
else:
prev_tag = base_tag
- n_files_changed, n_insertions, n_deletions = inject_patches.analyze_diff(self.repo, cur=tag_name, base=prev_tag)
+ n_files_changed, n_insertions, n_deletions = inject_patches.analyze_diff(
+ self.repo, cur=tag_name, base=prev_tag
+ )
stage_metrics = {}
stage_metrics["n_files_changed"] = n_files_changed
stage_metrics["n_insertions"] = n_insertions
stage_metrics["n_deletions"] = n_deletions
stages_metrics[PatchStage(stage).name] = stage_metrics
|
seal5/backends/report/times/writer.py#L14
'pickle' imported but unused (F401)
|
seal5/backends/report/times/writer.py#L15
'typing.Union' imported but unused (F401)
|
seal5/backends/report/times/writer.py#L19
'm2isar.metamodel.arch' imported but unused (F401)
|
seal5/backends/riscv_instr_info/writer.py#L25
'seal5.settings.ExtensionsSettings' imported but unused (F401)
|
seal5/backends/riscv_intrinsics/writer.py#L58
Local variable 'uses_mem' is assigned to but never used (F841)
|
seal5/backends/riscv_intrinsics/writer.py#L137
Local variable 'arch' defined in enclosing scope on line 21 referenced before assignment (F823)
|
seal5/backends/riscv_intrinsics/writer.py#L177
Local variable 'llvm_version' is assigned to but never used (F841)
|
seal5/flow.py#L788
Line too long (124 > 120 characters) (E501)
|
seal5/model.py#L14
'm2isar.metamodel.arch.FunctionAttribute' imported but unused (F401)
|
seal5/model.py#L93
Line too long (131 > 120 characters) (E501)
|
seal5/model.py#L105
Line too long (132 > 120 characters) (E501)
|
seal5/pass_list.py#L177
Redefinition of unused 'infer_types' from line 141 (F811)
|
seal5/transform/detect_registers.py#L39
Line too long (128 > 120 characters) (E501)
|
seal5/transform/inline_functions/optimizer.py#L19
'm2isar.metamodel.utils.expr_preprocessor.process_instructions' imported but unused (F401)
|
seal5/transform/inline_functions/visitor.py#L187
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L188
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L189
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L190
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L191
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L192
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L193
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L194
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L195
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L196
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L197
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L198
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L199
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L199
Line too long (141 > 120 characters) (E501)
|
seal5/transform/inline_functions/visitor.py#L200
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L201
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L202
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L203
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L204
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L205
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L206
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L206
Line too long (153 > 120 characters) (E501)
|
seal5/transform/inline_functions/visitor.py#L207
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L208
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L209
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L210
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L210
Line too long (141 > 120 characters) (E501)
|
seal5/transform/inline_functions/visitor.py#L211
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L212
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L213
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L214
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L215
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L216
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L216
Line too long (181 > 120 characters) (E501)
|
seal5/transform/inline_functions/visitor.py#L217
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L218
Too many leading '#' for block comment (E266)
|
/home/runner/work/seal5/seal5/seal5/flow.py#L783
base_tag = f"seal5-{self.name}-base"
if int(stage) > 0:
prev_tag = f"seal5-{self.name}-stage{int(stage)-1}"
else:
prev_tag = base_tag
- n_files_changed, n_insertions, n_deletions = inject_patches.analyze_diff(self.repo, cur=tag_name, base=prev_tag)
+ n_files_changed, n_insertions, n_deletions = inject_patches.analyze_diff(
+ self.repo, cur=tag_name, base=prev_tag
+ )
stage_metrics = {}
stage_metrics["n_files_changed"] = n_files_changed
stage_metrics["n_insertions"] = n_insertions
stage_metrics["n_deletions"] = n_deletions
stages_metrics[PatchStage(stage).name] = stage_metrics
|
seal5/backends/report/times/writer.py#L14
'pickle' imported but unused (F401)
|
seal5/backends/report/times/writer.py#L15
'typing.Union' imported but unused (F401)
|
seal5/backends/report/times/writer.py#L19
'm2isar.metamodel.arch' imported but unused (F401)
|
seal5/backends/riscv_instr_info/writer.py#L25
'seal5.settings.ExtensionsSettings' imported but unused (F401)
|
seal5/backends/riscv_intrinsics/writer.py#L58
Local variable 'uses_mem' is assigned to but never used (F841)
|
seal5/backends/riscv_intrinsics/writer.py#L137
Local variable 'arch' defined in enclosing scope on line 21 referenced before assignment (F823)
|
seal5/backends/riscv_intrinsics/writer.py#L177
Local variable 'llvm_version' is assigned to but never used (F841)
|
seal5/flow.py#L788
Line too long (124 > 120 characters) (E501)
|
seal5/model.py#L14
'm2isar.metamodel.arch.FunctionAttribute' imported but unused (F401)
|
seal5/model.py#L93
Line too long (131 > 120 characters) (E501)
|
seal5/model.py#L105
Line too long (132 > 120 characters) (E501)
|
seal5/pass_list.py#L177
Redefinition of unused 'infer_types' from line 141 (F811)
|
seal5/transform/detect_registers.py#L39
Line too long (128 > 120 characters) (E501)
|
seal5/transform/inline_functions/optimizer.py#L19
'm2isar.metamodel.utils.expr_preprocessor.process_instructions' imported but unused (F401)
|
seal5/transform/inline_functions/visitor.py#L187
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L188
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L189
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L190
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L191
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L192
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L193
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L194
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L195
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L196
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L197
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L198
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L199
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L199
Line too long (141 > 120 characters) (E501)
|
seal5/transform/inline_functions/visitor.py#L200
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L201
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L202
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L203
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L204
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L205
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L206
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L206
Line too long (153 > 120 characters) (E501)
|
seal5/transform/inline_functions/visitor.py#L207
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L208
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L209
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L210
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L210
Line too long (141 > 120 characters) (E501)
|
seal5/transform/inline_functions/visitor.py#L211
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L212
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L213
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L214
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L215
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L216
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L216
Line too long (181 > 120 characters) (E501)
|
seal5/transform/inline_functions/visitor.py#L217
Too many leading '#' for block comment (E266)
|
seal5/transform/inline_functions/visitor.py#L218
Too many leading '#' for block comment (E266)
|
Run linters
The following actions use a deprecated Node.js version and will be forced to run on node20: wearerequired/lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|