2023-04-30 20:17:47 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-rope: not for python 2
|
2022-02-27 09:52:13 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-rope: updated to 0.23.0
Release 0.23.0
Syntax support
- Implement structural pattern matching (PEP634)
- Improve the heuristic for joining lines when extracting one line
expression
Bug fixes
- Preserve newline format when writing files
- Fix extract info collection for list comprehension with multiple targets
Documentation
- Fix typo
|
2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message:
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
2021-11-23 21:47:04 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-rope: updated to 0.22.0
Release 0.22.0
Syntax support
Implement yield from syntax support to patchedast.py
Bug fixes
Improve empty tuple and handling of parentheses around tuple
Fix rename import statement with dots and as keyword
|
2021-11-12 11:21:47 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-rope: updated to 0.21.1
0.21.1
Bug fixes
- Start publishing wheel packages to allow offline installs
|
2021-11-02 07:17:16 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-rope: updated to 0.21.0
Release 0.21.0
Syntax support
- Handle `global` keyword when extracting method
- context manager:
- Implement extract refactoring for code containing `async with`
- Fix parsing of nested `with` statement/context manager
- list/set/dict/generator comprehension scope issues:
- Added scopes for comprehension expressions
- Added support for checking scopes by offset
- Fix renaming global var affects list comprehension
- Reuse of variable in comprehensions confuses method extraction
- Fix error `TypeError: 'PyDefinedObject' object is not subscriptable`
- f-string:
- Fix inlining into f-string containing quote characters
- inline assignment/walrus operator:
- Fix `AttributeError: '_ExpressionVisitor' object has no attribute 'defineds'`
Bug fixes
- Fix improper replacement when extracting attribute access expression with \
`similar=True`
- Fix improper replacement when extracting index access expression with \
`similar=True`
New feature
- Move read() to FileSystemCommands
Misc
- Setup all-contributors bot
- Blacken source code, rope now follows black code style
- Add Github Actions to enforce black code style
- Remove plain 'unittest' only runner
|
2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016) |
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Could not be committed due to merge conflict:
devel/py-traitlets/distinfo
The following distfiles were unfetchable (note: some may be only fetched
conditionally):
./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
|
2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017) |
Log message:
devel: Remove SHA1 hashes for distfiles
|
2021-09-19 12:50:42 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-rope: updated to 0.20.1
Release 0.20.1
Bug fixes
- Fix caller of `_namedexpr_last()` throwing exception due to returning \
unexpected list
instead of boolean
Release 0.20.0
New feature
- Added the ability to extract method to @staticmethod/@classmethod (@climbus)
- Changed Organize import to keep variables listed in `__all__`
- Change default .ropeproject/config.py to ignore code in folders named
.venv and venv (@0x1e02)
Syntax support
- Add extract method refactoring of code containing `exec` (@ceridwen)
- Add extract method refactoring of code containing `async def`, `async for`, \
and `await`
- Support extract method of expressions containing inline assignment (walrus \
operator)
Bug fixes
- Fix list of variables that are returned and/or turned into argument when \
extracting method in a loop
|
2021-04-29 19:08:01 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-rope: updated to 0.19.0
0.19.0
- Fix AttributeError lineno
- Python 3.9 ast changes
- create_generate with goal_resource param
- Fix relative import offset calculation
- Fix missinge lineno attribute for AssignedName ast node
- Added _NamedExpr into `patchedast.py`
- Add support for the walrus operator.
- fix test case name for `test_ann_assign_node_without_target`
- Returned _AnnAssign and checked for support assignment without value
- fixed version restriction in tests for NamedExpr
- Removed AnnAssign, added NeamedExpr, testa are made
- Added _AnnAsign into `patchedast.py`
- Extract augmented assignment
- Fix handling of dict rename in Python 2.x
- Improve handling of generalized dict unpacking during dict rename
- Add expected failure test for comprehension variable scopes
- Implement basic scoping and rename for set and dict comprehension
- Visit subexpressions of comprehensions to collect names for scopes
- Implement rename of inline assignment expression
- Implement basic scoping and renaming of list and generator
comprehension loop variables
- Implement f-string extract refactoring
- Refactor consume_joined_string and also fix missing
ast.JoinedStr/FormattedValue in older python
- Fix some f-string corner cases
- Implement PEP-448 generalized dict-unpacking
|