filter.yml: exclude simd #11
style.yml
on: push
Run linters
14s
Check for License headers
11s
Annotations
48 errors and 3 warnings
/home/runner/work/seal5/seal5/seal5/backends/riscv_isa_info/writer.py#L22
from seal5.settings import ExtensionsSettings
logger = logging.getLogger("riscv_isa_info")
-MAKO_TEMPLATE = " {\"${arch}\", RISCVExtensionVersion{${version_major}, ${version_minor}}},"
+MAKO_TEMPLATE = ' {"${arch}", RISCVExtensionVersion{${version_major}, ${version_minor}}},'
def gen_riscv_isa_info_str(name: str, ext_settings: ExtensionsSettings):
print("name", name)
print("ext_settings", ext_settings)
|
/home/runner/work/seal5/seal5/seal5/backends/riscv_isa_info/writer.py#L127
f.write(content)
if ext_settings.experimental:
key = "riscv_isa_info_experimental"
else:
key = "riscv_isa_info"
- riscv_isa_info_patch = NamedPatch(
- "llvm/lib/Support/RISCVISAInfo.cpp", key=key, src_path=out_path
- )
+ riscv_isa_info_patch = NamedPatch("llvm/lib/Support/RISCVISAInfo.cpp", key=key, src_path=out_path)
artifacts[None].append(riscv_isa_info_patch)
if args.metrics:
metrics_file = args.metrics
with open(metrics_file, "w") as f:
f.write(",".join(metrics.keys()))
|
seal5/backends/coredsl2/writer.py#L19
'm2isar.metamodel.behav' imported but unused (F401)
|
seal5/backends/riscv_features/writer.py#L27
Line too long (133 > 120 characters) (E501)
|
seal5/backends/riscv_features/writer.py#L29
Line too long (150 > 120 characters) (E501)
|
seal5/backends/viewer_seal5/treegen.py#L11
'tkinter as tk' imported but unused (F401)
|
seal5/backends/viewer_seal5/treegen.py#L13
'...metamodel.arch' imported but unused (F401)
|
seal5/backends/viewer_seal5/utils.py#L12
'anytree.RenderTree' imported but unused (F401)
|
seal5/backends/viewer_seal5/utils.py#L29
Redefinition of unused 'TreeGenContext' from line 19 (F811)
|
seal5/backends/viewer_seal5/viewer.py#L23
'...metamodel.utils.expr_preprocessor.process_attributes' imported but unused (F401)
|
seal5/backends/viewer_seal5/viewer.py#L23
'...metamodel.utils.expr_preprocessor.process_functions' imported but unused (F401)
|
seal5/backends/viewer_seal5/viewer.py#L23
'...metamodel.utils.expr_preprocessor.process_instructions' imported but unused (F401)
|
seal5/backends/viewer_seal5/viewer.py#L108
Local variable 'consts_node' is assigned to but never used (F841)
|
seal5/backends/viewer_seal5/viewer.py#L307
Local variable 'text' is assigned to but never used (F841)
|
seal5/backends/yaml/writer.py#L19
'm2isar.metamodel.patch_model' imported but unused (F401)
|
seal5/backends/yaml/writer.py#L19
'm2isar.metamodel.behav' imported but unused (F401)
|
seal5/flow.py#L204
Line too long (229 > 120 characters) (E501)
|
seal5/flow.py#L980
Local variable 'formats' is assigned to but never used (F841)
|
seal5/flow.py#L1034
Local variable 'formats' is assigned to but never used (F841)
|
seal5/flow.py#L1120
Line too long (174 > 120 characters) (E501)
|
seal5/flow.py#L1258
Local variable 'patches' is assigned to but never used (F841)
|
seal5/frontends/coredsl2_seal5/architecture_model_builder.py#L255
Local variable 'size' is assigned to but never used (F841)
|
seal5/frontends/coredsl2_seal5/architecture_model_builder.py#L273
Whitespace before ':' (E203)
|
seal5/frontends/coredsl2_seal5/architecture_model_builder.py#L295
Local variable 'qualifiers' is assigned to but never used (F841)
|
seal5/frontends/coredsl2_seal5/behavior_model_builder.py#L111
Local variable 'storage' is assigned to but never used (F841)
|
seal5/frontends/coredsl2_seal5/behavior_model_builder.py#L112
Local variable 'qualifiers' is assigned to but never used (F841)
|
seal5/frontends/coredsl2_seal5/behavior_model_builder.py#L113
Local variable 'attributes' is assigned to but never used (F841)
|
seal5/frontends/coredsl2_seal5/behavior_model_builder.py#L340
Whitespace before ':' (E203)
|
seal5/frontends/coredsl2_seal5/expr_interpreter.py#L11
'm2isar.M2ValueError' imported but unused (F401)
|
seal5/frontends/coredsl2_seal5/load_order.py#L11
'm2isar.M2NameError' imported but unused (F401)
|
seal5/frontends/coredsl2_seal5/parser.py#L17
'm2isar.metamodel.arch' imported but unused (F401)
|
seal5/frontends/coredsl2_seal5/parser.py#L34
Local variable 'app_dir' is assigned to but never used (F841)
|
seal5/frontends/coredsl2_seal5/parser.py#L71
Syntax error in forward annotation 'dict[str arch.InstructionSet]' (F722)
|
seal5/frontends/coredsl2_seal5/parser.py#L84
Undefined name 'core_name' (F821)
|
seal5/frontends/coredsl2_seal5/parser.py#L153
Undefined name 'fn_def' (F821)
|
seal5/settings.py#L445
Line too long (134 > 120 characters) (E501)
|
seal5/transform/detect_inouts/visitor.py#L11
'm2isar.metamodel.arch' imported but unused (F401)
|
seal5/transform/detect_side_effects/visitor.py#L11
'm2isar.flatten' imported but unused (F401)
|
seal5/transform/eliminate_mod_rfs/visitor.py#L11
'm2isar.metamodel.arch' imported but unused (F401)
|
seal5/transform/eliminate_rd_cmp_zero/visitor.py#L11
'm2isar.metamodel.arch' imported but unused (F401)
|
seal5/transform/explicit_truncations/visitor.py#L26
'm2isar.metamodel.arch' imported but unused (F401)
|
seal5/transform/explicit_truncations/visitor.py#L26
Module level import not at top of file (E402)
|
seal5/transform/infer_types/visitor.py#L26
Module level import not at top of file (E402)
|
seal5/transform/infer_types/visitor.py#L28
Module level import not at top of file (E402)
|
seal5/transform/infer_types/visitor.py#L154
Ambiguous variable name 'l' (E741)
|
seal5/transform/process_settings/transform.py#L17
'm2isar.metamodel.patch_model' imported but unused (F401)
|
seal5/transform/simplify_trivial_slices/visitor.py#L26
Module level import not at top of file (E402)
|
seal5/transform/simplify_trivial_slices/visitor.py#L80
Line too long (128 > 120 characters) (E501)
|
Check for License headers
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run linters
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, wearerequired/lint-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run linters
The following actions uses node12 which is deprecated and will be forced to run on node16: wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|