From a234056e66407a99b966623622cc495e57aee3e3 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 9 May 2024 09:29:47 +0200 Subject: Cleanup some lints --- cli/ghpr.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cli/ghpr.py') diff --git a/cli/ghpr.py b/cli/ghpr.py index 05c08ad..926a338 100644 --- a/cli/ghpr.py +++ b/cli/ghpr.py @@ -1,8 +1,6 @@ import click -import sys from pathlib import Path -from subprocess import run from .base import cli @@ -14,8 +12,7 @@ ROOT_PATH = Path(__file__).parents[1] def ghpr(path): with open(path, "r") as f: for line in f: - l = line.strip().split(",") - domain, handle, name = [x.strip() for x in l] + domain, handle, name = [x.strip() for x in line.strip().split(",")] handle = None if "@" in handle else handle fn = domain.replace(".", "") -- cgit v1.3.1