14
0

Accepting request 944190 from devel:languages:python

- - update to version 2.31.0:
 - rewrite string formatting with **locals()
- update to version 2.30.1:
 - don't rewrite six.reraise with named args
- update to version 2.30.0:
 - rewrite abspath(__file__) to __file__ in py39+
 - fix __path__ type annotation
 - fix the diff output of `forced str("native") literals` section
 - improve coverage pragmas with covdefaults 2.1
 - Use org-default .github/FUNDING.yml
   Committed via https://github.com/asottile/all-repos
 - Rewrite docs examples with commented code to use diffs
- - update to version 2.30.0:
 - rewrite abspath(__file__) to __file__ in py39+
 - fix __path__ type annotation
 - fix the diff output of `forced str("native") literals` section
 - improve coverage pragmas with covdefaults 2.1
 - Use org-default .github/FUNDING.yml
   Committed via https://github.com/asottile/all-repos
 - Rewrite docs examples with commented code to use diffs
- update to version 2.29.1:
 - prevent rewriting union types with forward annotations
 - replace exit(main()) with raise SystemExit(main())
   Committed via https://github.com/asottile/all-repos

OBS-URL: https://build.opensuse.org/request/show/944190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyupgrade?expand=0&rev=21
This commit is contained in:
2022-01-06 14:51:19 +00:00
committed by Git OBS Bridge
4 changed files with 37 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9dafc09a988c7f918abb3e94ee677f3263c5f3e77efb40e237fc6cca3d34b422
size 58334

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4398e2b7b6fee8de8a4ae51e6ce22e3d8ec159df5df14fc7738294961c37a46d
size 59081

View File

@@ -1,3 +1,35 @@
-------------------------------------------------------------------
Mon Jan 3 11:37:47 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
- - update to version 2.31.0:
- rewrite string formatting with **locals()
- update to version 2.30.1:
- don't rewrite six.reraise with named args
- update to version 2.30.0:
- rewrite abspath(__file__) to __file__ in py39+
- fix __path__ type annotation
- fix the diff output of `forced str("native") literals` section
- improve coverage pragmas with covdefaults 2.1
- Use org-default .github/FUNDING.yml
Committed via https://github.com/asottile/all-repos
- Rewrite docs examples with commented code to use diffs
-------------------------------------------------------------------
Tue Dec 28 16:15:14 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- - update to version 2.30.0:
- rewrite abspath(__file__) to __file__ in py39+
- fix __path__ type annotation
- fix the diff output of `forced str("native") literals` section
- improve coverage pragmas with covdefaults 2.1
- Use org-default .github/FUNDING.yml
Committed via https://github.com/asottile/all-repos
- Rewrite docs examples with commented code to use diffs
- update to version 2.29.1:
- prevent rewriting union types with forward annotations
- replace exit(main()) with raise SystemExit(main())
Committed via https://github.com/asottile/all-repos
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 16 07:44:51 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at> Tue Nov 16 07:44:51 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyupgrade # spec file for package python-pyupgrade
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-pyupgrade Name: python-pyupgrade
Version: 2.29.1 Version: 2.31.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