forked from pool/python-pyupgrade
- 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=73
This commit is contained in:
3
python-pyupgrade-3.15.0.tar.gz
Normal file
3
python-pyupgrade-3.15.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5dd905590b82e4de68d25ed4b811b0fbf6c04ba48a5b3b7dc7969c6de29773fa
|
||||||
|
size 65317
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:15f072052abe072bf4923ad5b2507b71537d757214fdaa1859c940fccec77acc
|
|
||||||
size 62408
|
|
@@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 26 20:21:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 1 20:18:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu Jun 1 20:18:41 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
@@ -16,13 +40,13 @@ Sat Dec 3 00:15:00 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
|||||||
- Update to version 3.2.2
|
- Update to version 3.2.2
|
||||||
* remove abspath(__file__) rewrite
|
* remove abspath(__file__) rewrite
|
||||||
|
|
||||||
- Update to version 3.2.1
|
- Update to version 3.2.1
|
||||||
* Fix `Optional["ForwardRef"]` rewriting
|
* Fix `Optional["ForwardRef"]` rewriting
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 9 18:48:48 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Wed Nov 9 18:48:48 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to version 3.2.0
|
- Update to version 3.2.0
|
||||||
* Merge pull request #747 from asottile/pre-commit-ci-update-config
|
* Merge pull request #747 from asottile/pre-commit-ci-update-config
|
||||||
* Merge pull request #745 from tusharsadhwani/unpack
|
* Merge pull request #745 from tusharsadhwani/unpack
|
||||||
* Add PEP646 Unpack plugin
|
* Add PEP646 Unpack plugin
|
||||||
@@ -438,7 +462,7 @@ Sun Nov 1 18:32:44 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
|||||||
|
|
||||||
- Update to 2.7.3:
|
- Update to 2.7.3:
|
||||||
- fix off-by-one in encode() call fixer
|
- fix off-by-one in encode() call fixer
|
||||||
- upgrade mypy to get typeshed fix
|
- upgrade mypy to get typeshed fix
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 3 13:30:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Mon Aug 3 13:30:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyupgrade
|
Name: python-pyupgrade
|
||||||
Version: 3.4.0
|
Version: 3.15.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A tool to automatically upgrade syntax for newer versions
|
Summary: A tool to automatically upgrade syntax for newer versions
|
||||||
License: MIT
|
License: MIT
|
||||||
|
Reference in New Issue
Block a user