Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Edward Betts Newsgroups: linux.debian.bugs.dist,linux.debian.devel,linux.debian.maint.python Subject: Bug#1015318: ITP: autoflake -- Removes unused imports and unused variables in Python code Date: Tue, 19 Jul 2022 15:30:01 +0200 Message-ID: X-Original-To: Debian Bug Tracking System X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Jul 19 13:24:09 2022 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -3.761 Reply-To: Edward Betts , 1015318@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org, wnpp@debian.org X-Debian-Pr-Message: report 1015318 X-Debian-Pr-Package: wnpp MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: archive/latest/1725845 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 23 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 19 Jul 2022 14:22:38 +0100 X-Original-Message-ID: <20220719132238.qcw6v4zg7iavannr@4angle.com> Xref: csiph.com linux.debian.bugs.dist:1110329 linux.debian.devel:105062 linux.debian.maint.python:14255 Package: wnpp Severity: wishlist Owner: Edward Betts X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org * Package name : autoflake Version : 1.4 Upstream Author : Steven Myint * URL : https://github.com/PyCQA/autoflake * License : Expat Programming Lang: Python Description : Removes unused imports and unused variables in Python code 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. Also removes useless 'pass' statements. This is a dependency for the autoimport tool that I also intend to package. I plan to maintain this package as part of the Python modules team.