Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Feb 28, 2024
1 parent 3d645e6 commit 78b1a9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apio/commands/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def cli(ctx, project_dir, verbose, top_module):
exit_code = scons.graph(
{
"verbose": {"all": verbose, "yosys": False, "pnr": False},
"top-module": top_module
"top-module": top_module,
}
)

Expand Down
2 changes: 1 addition & 1 deletion apio/managers/scons.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def verify(self, args):
arch=arch,
packages=["oss-cad-suite"],
)

@util.command
def graph(self, args):
"""Executes scons for visual graph generation"""
Expand Down
4 changes: 2 additions & 2 deletions test/code_commands/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def test_graph(clirunner, configenv):
configenv()

# -- Execute "apio graph"
result = clirunner.invoke(cmd_graph, ['--board', 'icezum'])
result = clirunner.invoke(cmd_graph)

# -- Check the result
assert result.exit_code != 0
assert 'apio install oss-cad-suite' in result.output
# -- TODO (FIXME!)

0 comments on commit 78b1a9f

Please sign in to comment.