Revisions of python-pyupgrade

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1161394 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 33)
- update to 3.15.2:
  * only replace to shlex.join if joined with a space
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1160038 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 32)
- update to 3.15.1:
  * handle constant folding with comments on multilines better
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1135194 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 31)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1090388 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 30)
- update to 3.4.0:
  * drop python37 support
  * remove use of deprecated ast
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1036282 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 28)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1034313 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 27)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1007627 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 26)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 985525 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 25)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 979648 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 24)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 970417 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 23)
Automatic submission by obs-autosubmit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 961980 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 22)
- - 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
- update to version 2.31.0:
 - rewrite string formatting with **locals()
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 944190 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 21)
- - 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 932268 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 20)
- - 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 928868 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 19)
- update to version 2.29.0:
 - Revert "Merge pull request #320 from asottile/new_class_super_v2"
   This reverts commit b3f8c7b2e9ccb06c6028d5dd90c8f5490a49e95b, reversing
   changes made to 41308214566af7c5589ebc7e8a760522c82dc3bc.
 - Revert "Merge pull request #545 from asottile/skip-staticmethod"
   This reverts commit 8768d42facdaa1ef771a5a689b11329a54afd00a, reversing
   changes made to a2f517f0103c1f74bffbc06be510bcec4cd181ec.
- update to version 2.28.1:
 - don't rewrite old-super for staticmethods
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 927577 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 18)
- update to version 2.28.0:
 - don't rewrite old super calls for __new__
 - fix super replacement of multiple lines
 - Fix bug with calling different superclass method
 - Revert "Revert "Merge pull request #317 from asottile/old_super""
   This reverts commit 2719335fa7bdb582b35ac90547a0f763d4225036.
 - fix raise_from with multi lines / trailing commas
 - fix rewrite causing syntax error when the first arg has newlines
 - fix invalid dedent with comment after block
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 921380 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 17)
- update to version 2.27.0:
 - handle named escape sequences in format upgrades
 - remove splatting of listcomp -> splat of generator
- update to version 2.26.0.post1:
 - BUG: fix broken tests for versioned_branches feature
- update to version 2.26.0:
 - ENH: expand versioned_branches feature to Python 3 minor version comparison (<, >, <=, >= with else)
- update to version 2.25.1:
 - don't rewrite %-format with width+s
 - update timidity docs for f-strings
- update to version 2.25.0:
 - revert pep584 rewrite
- update to version 2.24.0:
 - Rewrite unittest deprecated aliases
   Fixes #519
- update to version 2.23.3:
 - can't splat async generators
 - cannot unpack async generators
 - add extra test for pep584
- update to version 2.23.2:
 - correctly compute indent for typeddict after dedent
- update to version 2.23.1:
 - fix bug in merge dicts: look for comma backwards
- update to version 2.23.0:
 - rewrite type of primitive
- update to version 2.22.0:
 - rewrite six.moves.range
 - rewrite lru_cache with maxsize=None and typed=False
   Co-authored-by: Max Rozentsveyg <maxr@outlook.com>
- update to version 2.21.2:
 - dont do generator rewrite if list comp contains await
- update to version 2.21.1:
 - fix breakage from async generator
 - Fix etree heading, non-breaking space to space
- update to version 2.21.0:
 - remove redunant encoding even for f-strings
- update to version 2.20.1:
 - dont rewrite fstring if await in py3
- Update to version 2.20.0:
 - stricter mypy settings
 - remove unused type ignore
 - fix six.with_metaclass and trailing commas
 - rewrite cElementTree to ElementTree
- update to version 2.19.1
 - unpack argument list comprehensions
 - revert string join for potential perf reasons
- update to version 2.19.2
 - replace open modes with string flags
- update to version 2.19.3
 - ignore unrelated calls to .encode(...)
 - fix elif -> else when indented
- update to version 2.19.4
 - fix __metaclass__ = type replacement without extra newline
- update to versio 2.18.3:
 - remove trailing comma after removed list comp
- update to version 2.18.2:
 -  don't rewrite list comp to generator expression in short-circuiting functions
- update to version 2.18.1:
 - check argument count for generator rewrite
- update to version 2.18.0:
 - use generator expressions in single arg func calls
- update to version 2.17.0:
 - Fix typo in the "is" example of README
 - use generator to unpack list comprehension
- update to version 2.16.0:
 - don't crash on --py311-plus
 - Use more inclusive language
 - pep584-rewrite
 - note pep584 change in README
- update to version 2.15.0:
 - only replace argument token
 - CLN only replace argument token
 - replace stdout=PIPE and stderr=PIPE with capture_output=True
- update to version 2.14.0:
 - replace universal_newlines with text if py37+
 - upgrade subprocess.run(universal_newlines=True) to subprocess.run(text=True) in --py37-plus
 - reorder_python_imports: v2.4.0 → v2.5.0
- Update to version 2.13.0:
 - move pep563 rewrite to py311
- Update to version 2.12.0:
 - document annotation unquote
 - use dict comprehension
 - rewrite typeddict even with total= option
 - Update azure-pipelines template repositories
 - _to_fstring: Use original token stream instead of unparsed AST
- Update to version 2.10.1
 - fix nested union replaces
- Update to version 2.11.0
 - dequote annotations: quoted annotations + `from __future__ import annotations`
 - rewrite open even with mode=: Rewrite open_mode even if mode is passed by name
- Disable build on Python 2 as the build fails with the latest version.
- Update to version 1.10.0:
 - lru_cache(maxsize=None) => functools.cache
- Update to version 2.9.0:
 - Document correct minimum version for PEP 604
 - fix propagation of --keep-mock
 - Add --keep-runtime-typing
- Update to version 2.8.0:
 - genericize future import detection
 - rewrite pep585 generic builtins
 - move py2 compat fixer to plugins
 - move %-format rewrite to a plugin
 - move py3+ base class removal to plugins
 - move lru_cache rewrite to a plugin
 - move six decorator removal to a plugin
 - move six.b / six.ensure_binary to a plugin
 - move __metaclass__ = test checker to a plugin
 - move io.open rewriting to a plugin
 - move simple six attrs to a plugin
 - move typing pep585 rewrite to a plugin
 - move default encoding to a plugin
 - move native literals to a plugin
 - move versioned branches rewrite to a plugin
 - move open mode fix to a plugin
 - move os error alias rename to a plugin
 - move six calls / metaclass rewrites to plugins
 - settings in separate class
 - move mock rewrite to a plugin
 - refactor Py3Plus scope management
 - move super and yield from to a legacy plugin
 - combine six_b into six_calls plugin
 - replace typing.Text with str
 - rewrite pep604 (+ add --py310-plus)
 - document PEP 604 rewrites
- Use python_clone and alternatives to provide the executable.
- Update to version 2.7.4:
 - parenthesize expressions when replacing six calls when needed
- Update to 2.7.3:
 - fix off-by-one in encode() call fixer
 - upgrade mypy to get typeshed fix 
- update to 2.7.2
  * fix any call with *sys.exc_info()
  * leave f'string'.format(...) alone
  * `reraise` and `raise_from` doc examples
- initial package for version 2.6.2.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 921122 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 16)
- update to version 2.26.0.post1:
 - BUG: fix broken tests for versioned_branches feature
- update to version 2.26.0:
 - ENH: expand versioned_branches feature to Python 3 minor version comparison (<, >, <=, >= with else)
- update to version 2.25.1:
 - don't rewrite %-format with width+s
 - update timidity docs for f-strings
- update to version 2.25.0:
 - revert pep584 rewrit
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 917719 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 15)
- update to version 2.24.0:
 - Rewrite unittest deprecated aliases
   Fixes #519
Richard Brown's avatar Richard Brown (RBrownSUSE) accepted request 911250 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 14)
- update to version 2.23.3:
 - can't splat async generators
 - cannot unpack async generators
 - add extra test for pep584
- update to version 2.23.2:
 - correctly compute indent for typeddict after dedent
- update to version 2.23.1:
 - fix bug in merge dicts: look for comma backwards
- update to version 2.23.0:
 - rewrite type of primitive
- update to version 2.22.0:
 - rewrite six.moves.range
 - rewrite lru_cache with maxsize=None and typed=False
   Co-authored-by: Max Rozentsveyg <maxr@outlook.com>
- update to version 2.21.2:
 - dont do generator rewrite if list comp contains await
- update to version 2.21.1:
 - fix breakage from async generator
 - Fix etree heading, non-breaking space to space
- update to version 2.21.0:
 - remove redunant encoding even for f-strings
- update to version 2.20.1:
 - dont rewrite fstring if await in py3
Displaying revisions 1 - 20 of 33
openSUSE Build Service is sponsored by