From 29fa24b9fbd6906def542d08fe9bec5466226525 Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Fri, 10 Jan 2025 08:58:57 +0100 Subject: [PATCH] fix: remove duplicate noqa directives Signed-off-by: Oz Tiram --- pipenv/routines/outdated.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pipenv/routines/outdated.py b/pipenv/routines/outdated.py index 110f09def..18838f8b6 100644 --- a/pipenv/routines/outdated.py +++ b/pipenv/routines/outdated.py @@ -60,9 +60,7 @@ def do_outdated(project, pypi_mirror=None, pre=False, clear=False): package_info(package, str(version), str(updated_packages[norm_name])) ) elif canonicalize_name(package) in outdated_packages: - skipped.append( - outdated_packages[canonicalize_name(package)] # noqa: PLC0206 - ) + skipped.append(outdated_packages[canonicalize_name(package)]) for package, old_version, new_version in skipped: for category in project.get_package_categories(): name_in_pipfile = project.get_package_name_in_pipfile(