How to Install and Uninstall python3-flake8-comprehensions.noarch Package on CentOS Stream 9

Last updated: November 25,2024

1. Install "python3-flake8-comprehensions.noarch" package

Please follow the guidelines below to install python3-flake8-comprehensions.noarch on CentOS Stream 9

$ sudo dnf update $ sudo dnf install python3-flake8-comprehensions.noarch

2. Uninstall "python3-flake8-comprehensions.noarch" package

Here is a brief guide to show you how to uninstall python3-flake8-comprehensions.noarch on CentOS Stream 9:

$ sudo dnf remove python3-flake8-comprehensions.noarch $ sudo dnf autoremove

3. Information about the python3-flake8-comprehensions.noarch package on CentOS Stream 9

Last metadata expiration check: 0:59:05 ago on Sat Mar 16 16:03:45 2024.
Available Packages
Name : python3-flake8-comprehensions
Version : 3.10.1
Release : 3.el9
Architecture : noarch
Size : 21 k
Source : python-flake8-comprehensions-3.10.1-3.el9.src.rpm
Repository : epel
Summary : Flake8 plugin that helps you write better list/set/dict comprehensions
URL : https://github.com/adamchainz/flake8-comprehensions
License : MIT
Description : A flake8 plugin to identify the following patterns:
:
: - C400-402: Unnecessary generator - rewrite as a comprehension.
: - C403-404: Unnecessary list comprehension - rewrite as a
: comprehension.
: - C405-406: Unnecessary literal - rewrite as a literal.
: - C408: Unnecessary call - rewrite as a literal.
: - C409-410: Unnecessary passed to () - (remove the
: outer call to ``()/rewrite as a `` literal).
: - C411: Unnecessary list call - remove the outer call to list().
: - C413: Unnecessary call around sorted().
: - C414: Unnecessary call within
: ().
: - C415: Unnecessary subscript reversal of iterable within
: ().
: - C416: Unnecessary comprehension - rewrite using ().
: - C417: Unnecessary map usage - rewrite using a generator
: expression/ comprehension.