Path: csiph.com!usenet.pasdenom.info!aioe.org!bofh.it!news.nic.it!robomod From: Raphael Hertzog Newsgroups: linux.debian.bugs.dist,linux.debian.maint.python Subject: Bug#988658: RFP: python3-pyupgrade -- Automatically upgrade syntax for newer versions of the Python language Date: Mon, 17 May 2021 15:40:01 +0200 Message-ID: X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon May 17 13:39:11 2021 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -4.2 Reply-To: Raphael Hertzog , 988658@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-python@lists.debian.org, wnpp@debian.org X-Debian-Pr-Message: report 988658 X-Debian-Pr-Package: wnpp MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Reportbug-Version: 7.10.3 X-Debian-Message: from BTS X-Mailing-List: archive/latest/1664475 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 36 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 17 May 2021 15:34:29 +0200 X-Original-Message-ID: Xref: csiph.com linux.debian.bugs.dist:1059203 linux.debian.maint.python:13374 Package: wnpp Severity: wishlist X-Debbugs-Cc: debian-python@lists.debian.org * Package name : python3-pyupgrade Version : 2.16.0 Upstream Author : Anthony Sottile * URL : https://github.com/asottile/pyupgrade * License : BSD Programming Lang: Python Description : Automatically upgrade syntax for newer versions of the Python language This helper script can help you normalize your Python source code by rewriting parts of your code to use the latest syntax improvements. Some examples from the README: set([]) # set() '{0} {1}'.format(1, 2) # '{} {}'.format(1, 2) x is 5 # x == 5 '{foo} {bar}'.format(foo=foo, bar=bar) # f'{foo} {bar}' I discovered this tool by reading some documentation and I'd like it to be available in Debian so that I can try it and use it :-) ccing debian-python@lists.debian.org in the hope to catch the attention of someone with more time than me. Thank you! -- Raphaƫl Hertzog