Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-03-18 12:05:40 +02:00
parent 335d3644b1
commit f46fbb74ee

View file

@ -268,9 +268,7 @@ class Argparse(Configs):
def invalid_options(self) -> None: def invalid_options(self) -> None:
""" Checks for invalid options. """ """ Checks for invalid options. """
invalid: list = [] invalid, commands, repeat = [], [], []
commands: list = []
repeat: list = []
for arg in self.args: for arg in self.args:
if arg[0] == '-' and arg in self.commands.keys(): if arg[0] == '-' and arg in self.commands.keys():