rope
rope copied to clipboard
a python refactoring library
Applying the Rename refactoring to the following program causes runtime problems. Steps to reproduce the behavior: 1. Code before refactoring: ``` import nltk class Word: PorterStemmer = nltk.stem.porter.PorterStemmer() def stem(self,...
### Description Now that https://github.com/psf/black/pull/1879 is merged, once that PR is in a versioned release of black, we would be able to undo the hacks that were needed to work...
```console > sphinx-build --version sphinx-build 5.3.0 ... ekr-clone-rope2\docs> sphinx-build -M html . _build ...ekr-clone-rope2\docs\overview.rst:403: WARNING: Could not lex literal_block as "python". Highlighting skipped. ...ekr-clone-rope2\docs\overview.rst:424: WARNING: Could not lex literal_block as...
**Is your feature request related to a problem? Please describe.** #456 adds pattern matching to rope, but it seems like support is incomplete as `patchedast` currently doesn't handle these nodes:...
pickle is insecure and it's not very efficient for larger, more complex datasets. This will be a multiple steps plan towards moving into sqlite-backed storage: 1. [x] Remove rarely used...
**Is your feature request related to a problem? Please describe.** Given that `FooBar` is an undefined class, and you have a code that looks like this: ```python result = FooBar(...
**Is your feature request related to a problem? Please describe.** When using type annotation to declare a `typing.NewType`, you have to pass in the type name as the first argument:...
### Description These config settings tells rope whether to cache the projectdb and retain undo history respectively. We should just always save these files. Rope should just always have sensible...
Fixes #789
Given code like: ```python a = ( # foo, ) ``` `get_patched_ast` will incorrectly scan past the empty tuple and cause `MismatchedTokenError`. The following test case will blow up in...