Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14255

Bug#1015318: ITP: autoflake -- Removes unused imports and unused variables in Python code

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Edward Betts <edward@4angle.com>
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 <EKVst-cpdk-1@gated-at.bofh.it> (permalink)
X-Original-To Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Tue Jul 19 13:24:09 2022
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.761
Reply-To Edward Betts <edward@4angle.com>, 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 <debian-bugs-dist@lists.debian.org> archive/latest/1725845
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
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

Cross-posted to 3 groups.

Show key headers only | View raw


Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org

* Package name    : autoflake
  Version         : 1.4
  Upstream Author : Steven Myint <git@stevenmyint.com>
* 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.

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Bug#1015318: ITP: autoflake -- Removes unused imports and unused variables in Python code Edward Betts <edward@4angle.com> - 2022-07-19 15:30 +0200

csiph-web