Skip to content

lint code

lint code #35

GitHub Actions / Flake8 failed Mar 14, 2024 in 0s

11 errors

Flake8 found 11 errors

Annotations

Check failure on line 117 in seal5/backends/patterngen/writer.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

seal5/backends/patterngen/writer.py#L117

Expected 1 blank line before a nested definition, found 0 (E306)

Check failure on line 27 in seal5/backends/riscv_features/writer.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

seal5/backends/riscv_features/writer.py#L27

Line too long (133 > 120 characters) (E501)

Check failure on line 29 in seal5/backends/riscv_features/writer.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

seal5/backends/riscv_features/writer.py#L29

Line too long (150 > 120 characters) (E501)

Check failure on line 32 in seal5/backends/riscv_instr_info/writer.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

seal5/backends/riscv_instr_info/writer.py#L32

Line too long (135 > 120 characters) (E501)

Check failure on line 34 in seal5/backends/riscv_instr_info/writer.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

seal5/backends/riscv_instr_info/writer.py#L34

Line too long (152 > 120 characters) (E501)

Check failure on line 273 in seal5/frontends/coredsl2_seal5/architecture_model_builder.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

seal5/frontends/coredsl2_seal5/architecture_model_builder.py#L273

Whitespace before ':' (E203)

Check failure on line 340 in seal5/frontends/coredsl2_seal5/behavior_model_builder.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

seal5/frontends/coredsl2_seal5/behavior_model_builder.py#L340

Whitespace before ':' (E203)

Check failure on line 7 in seal5/resources/lit.cfg.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

seal5/resources/lit.cfg.py#L7

'lit.llvm.llvm_config' imported but unused (F401)

Check failure on line 10 in seal5/resources/lit.cfg.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

seal5/resources/lit.cfg.py#L10

Undefined name 'config' (F821)

Check failure on line 14 in seal5/resources/lit.cfg.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

seal5/resources/lit.cfg.py#L14

Undefined name 'config' (F821)

Check failure on line 18 in seal5/resources/lit.cfg.py

See this annotation in the file changed.

@github-actions github-actions / Flake8

seal5/resources/lit.cfg.py#L18

Undefined name 'config' (F821)