Skip to content

Commit

Permalink
apio install refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Mar 17, 2024
1 parent 7d51acd commit fd9495d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions apio/commands/install.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# -*- coding: utf-8 -*-
# -- This file is part of the Apio project
# -- (C) 2016-2019 FPGAwars
# -- Author Jesús Arroyo
# -- (C) 2016-2024 FPGAwars
# -- Authors
# -- * Jesús Arroyo (2016-2019)
# -- * Juan Gonzalez (obijuan) (2019-2024)
# -- Licence GPLv2
"""Main implementation of APIO INSTALL command"""

Expand Down Expand Up @@ -38,10 +40,6 @@ def install_packages(packages: list, platform: str, force: bool):
inst.install()


# R0801: Similar lines in 2 files
# pylint: disable = R0801
# ==apio.commands.install:[83:93]
# ==apio.commands.uninstall:[71:81]
@click.command(CMD, context_settings=util.context_settings())
@click.pass_context
@click.argument(PACKAGES, nargs=-1)
Expand Down

0 comments on commit fd9495d

Please sign in to comment.