e4e422da0e
update to version 2.38.2:
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=63
2022-09-26 06:07:46 +00:00
3524608629
- update to version 2.33.0:
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=61
2022-06-21 08:52:59 +00:00
5f8859e60a
- update to version 2.33.0:
...
- feat: rewrite deprecated unittest methods
- Fix typos
* README.md
* tests/features/typing_classes_test.py
* tests/features/yield_from_test.py
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=60
2022-06-21 08:52:30 +00:00
8779a95433
- update to version 2.32.1:
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=58
2022-05-22 10:41:05 +00:00
a7750db72d
- update to version 2.32.1:
...
- Do not remove quoted annotations on 3.11
`from __future__ import annotations` will not be the default
behavior on 3.11.
Fixes #637 .
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=57
2022-05-22 10:39:59 +00:00
25285f0408
- 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
2022-04-09 07:32:01 +00:00
c28fb2d688
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=53
2022-03-15 17:49:22 +00:00
ff7e2f8943
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=51
2022-01-06 08:48:37 +00:00
8d4b077add
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=48
2021-11-18 13:46:34 +00:00
2139182c13
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=46
2021-11-02 21:30:26 +00:00
38c30042ca
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=44
2021-10-26 13:49:29 +00:00
79ca280534
Fix Source URL in the SPEC file.
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=42
2021-09-24 22:43:38 +00:00
3d73a3f5ba
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=39
2021-09-23 10:00:20 +00:00
2013dd2d5b
Fix changes
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=37
2021-09-09 11:25:18 +00:00
1fb649517b
Clean up the package with unresolved conflicts.
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=36
2021-09-09 11:24:49 +00:00
51a2e2e3fe
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=34
2021-08-10 09:48:27 +00:00
cb45d6e3eb
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=32
2021-07-21 10:42:44 +00:00
013cc2e63b
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=30
2021-06-20 08:51:30 +00:00
f61960681b
- update to versio 2.18.3:
...
- remove trailing comma after removed list comp
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=28
2021-05-25 07:47:19 +00:00
3fe8ff1502
- update to version 2.18.2:
...
- don't rewrite list comp to generator expression in short-circuiting functions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=27
2021-05-24 17:13:25 +00:00
be4e729d47
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=26
2021-05-21 16:01:59 +00:00
fc12b57368
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=25
2021-05-19 07:33:56 +00:00
866c6c5229
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=22
2021-05-09 09:56:54 +00:00
d7f4fdb5c6
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=20
2021-05-02 07:40:11 +00:00
7d931d4871
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=19
2021-04-24 18:18:47 +00:00
9b4eb6cca5
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=17
2021-03-22 21:06:39 +00:00
28234b5151
- Disable build on Python 2 as the build fails with the latest version.
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=15
2021-02-13 18:23:06 +00:00
dcf49033e8
- Update to version 1.10.0:
...
- lru_cache(maxsize=None) => functools.cache
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=14
2021-02-09 06:48:22 +00:00
2ee588d7a7
- Update to version 2.9.0:
...
- Document correct minimum version for PEP 604
- fix propagation of --keep-mock
- Add --keep-runtime-typing
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=13
2021-02-03 16:49:04 +00:00
b921f483ef
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=12
2021-01-31 17:52:15 +00:00
824815f5af
- Use python_clone and alternatives to provide the executable.
...
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=10
2021-01-23 15:26:19 +00:00
865c2df223
- Update to version 2.7.4:
...
- parenthesize expressions when replacing six calls when needed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=8
2020-11-25 20:50:18 +00:00
54fc6fe11b
- Update to 2.7.3:
...
- fix off-by-one in encode() call fixer
- upgrade mypy to get typeshed fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=6
2020-11-01 18:33:10 +00:00
5ad7522e70
Accepting request 824152 from home:mcalabkova:branches:devel:languages:python
...
- update to 2.7.2
* fix any call with *sys.exc_info()
* leave f'string'.format(...) alone
* `reraise` and `raise_from` doc examples
OBS-URL: https://build.opensuse.org/request/show/824152
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=4
2020-08-03 18:08:36 +00:00
Tomáš Chvátal
d9fdc80c93
Accepting request 818765 from home:sebix
...
can also maintain it
now uses github tarball to run tests
OBS-URL: https://build.opensuse.org/request/show/818765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=1
2020-07-07 07:43:27 +00:00