A tool to automatically upgrade syntax for newer versions

Edit Package python-pyupgrade
https://github.com/asottile/pyupgrade

A tool to automatically upgrade syntax for newer versions.

Refresh
Refresh
Source Files
Filename Size Changed
python-pyupgrade-3.15.0.tar.gz 0000065317 63.8 KB
python-pyupgrade.changes 0000019088 18.6 KB
python-pyupgrade.spec 0000002294 2.24 KB
Revision 73 (latest revision is 78)
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 73)
- update to 3.15.0:
  * Implement defaultdict lambda fixer
  * update import symbols for 3.12 release
  * constant fold isinstance / issubclass / except
  * slight improvement to except fix
  * document TimeoutError rewrites
  * also rewrite os.error -> OSError
  * prevent rewriting unittest module functions with additional
    arguments
  * fix string formatting with named escape adjacent to placeholder
  * regenerate with latest reorder-python-imports
  * slightly cleaner plugin union registering
  * remove python 2 notes about invalid escapes
  * correct minimum requirement
  * fix weird-ws empty set literals
  * automatically rewrite to shlex.join in --py38-plus
  * posonlyargs are always present in 3.8+
  * updates for add-trailing-comma 3.x
  * 3.12 TypeVar bounds are always unquotable
  * support PEP 563 rewrites for 3.12+ TypeVar bounds
- Update to version 3.2.1
- Update to version 3.2.0
 - upgrade mypy to get typeshed fix
Comments 0
openSUSE Build Service is sponsored by