How to Install and Uninstall python2-autoflake Package on openSUSE Leap

Last updated: November 26,2024

1. Install "python2-autoflake" package

This tutorial shows how to install python2-autoflake on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install python2-autoflake

2. Uninstall "python2-autoflake" package

Please follow the instructions below to uninstall python2-autoflake on openSUSE Leap:

$ sudo zypper remove python2-autoflake

3. Information about the python2-autoflake package on openSUSE Leap

Information for package python2-autoflake:
------------------------------------------
Repository : Main Repository
Name : python2-autoflake
Version : 1.3.1-bp153.1.14
Arch : noarch
Vendor : openSUSE
Installed Size : 90,8 KiB
Installed : No
Status : not installed
Source package : python-autoflake-1.3.1-bp153.1.14.src
Summary : Program to removes unused Python imports and variables
Description :
Autoflake removes unused imports and unused variables from Python
code. It makes use of pyflakes to do this.
By default, autoflake only removes unused imports for modules that
are part of the standard library. (Other modules may have side
effects that make them unsafe to remove automatically.) Removal of
unused variables is also disabled by default.
autoflake also removes useless pass statements.