14
0

- update to version 2.32.0:

- rewrite check_output(...) universal_newlines -> text
 - convert fstring rewriter to a plugin
 - move typed class rewrite to a plugin
 - change is_name_attr to accept multiple modules
 - reorder pre-commit config
   Committed via https://github.com/asottile/all-repos
 - Update default branch to main
   Committed via https://github.com/asottile/all-repos
 - remove unneeded gitignore lines
   - coverage-html: coverage>=6.2 writes a .gitignore file
   - mypy_cache: mypy>=0.770 writes a .gitignore file
   - pytest_cache: pytest>=3.8.1 writes a .gitignore file
   - venv: virtualenv>=20.0.21 writes a .gitignore file
   Committed via https://github.com/asottile/all-repos
- update to version 2.31.1:
 - dont rewrite universal_newlines if text or **kwargs present
 - upgrade flake8-typing-imports
   Committed via https://github.com/asottile/all-repos
 - drop python3.6 support
   python 3.6 reached end of life on 2021-12-23
   Committed via https://github.com/asottile/all-repos
 - remove --fail-under from tox (covdefaults handles this)
   Committed via https://github.com/asottile/all-repos
 - Use diff syntax in more places in the docs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=55
This commit is contained in:
Sebastian Wagner
2022-04-09 07:32:01 +00:00
committed by Git OBS Bridge
parent d9de9d703a
commit 4b9afff1f1
4 changed files with 33 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyupgrade
Version: 2.31.1
Version: 2.32.0
Release: 0
Summary: A tool to automatically upgrade syntax for newer versions
License: MIT