Skip to content

Commit

Permalink
arguments: Lint passed (rated at 10.00/10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Feb 21, 2024
1 parent a3573f8 commit 27f7d10
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions apio/managers/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# -- (C) 2016-2019 FPGAwars
# -- Author Jesús Arroyo
# -- Licence GPLv2
"""TODO"""
"""Utilities for procesing the arguments passed to apio commands"""

from functools import wraps

Expand Down Expand Up @@ -249,8 +249,12 @@ def process_arguments(
"fpga_idcode": config[IDCODE],
"verbose_all": config[VERBOSE][ALL],
# These two flags appear only in some of the commands.
"verbose_yosys": config[VERBOSE][YOSYS] if YOSYS in config[VERBOSE] else False,
"verbose_pnr": config[VERBOSE][PNR] if PNR in config[VERBOSE] else False,
"verbose_yosys": (
config[VERBOSE][YOSYS] if YOSYS in config[VERBOSE] else False
),
"verbose_pnr": (
config[VERBOSE][PNR] if PNR in config[VERBOSE] else False
),
"top_module": config[TOP_MODULE],
"testbench": config[TESTBENCH],
}
Expand Down

0 comments on commit 27f7d10

Please sign in to comment.