rope
rope copied to clipboard
a python refactoring library
Expand documentation of Emacs support in the [Wiki](https://github.com/python-rope/rope/wiki/How-to-use-Rope-in-my-IDE-or-Text-editor%3F)
Expand documentation of LSP support in the [Wiki](https://github.com/python-rope/rope/wiki/How-to-use-Rope-in-my-IDE-or-Text-editor%3F)
hello, I've written a test for rope that fails when a keyword argument to a function is the same as the name of the variable to be renamed, like this:...
If you run the program below from the top-level rope directory, you'll see that the 'from' import statements aren't retained. For example, this is what I get as part of...
Document all known first and third party projects that supports rope, how to use rope in those environments, and the state of their integrations. This should be linked in the...
We have many many tests like: ``` python def test_validation_problems_for_changing_builtin_types(self): mod1 = testutils.create_module(self.project, 'mod1') mod1.write('l = []\nl.append("")\n') self.pycore.analyze_module(mod1) mod1.write('l = {}\nv = l["key"]\n') pymod1 = self.pycore.resource_to_pyobject(mod1) # noqa var =...
**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Code before refactoring: ``` # mod1.py __all__ = ['old_name']...
Given, a collection literal like so: ``` actions = [ '1. Walk Forward', '2. Evade', f'3. {attack_name}', '4. Flee', ] ``` or a function call: ``` action = env.user_input_choices( 'Choose...
Comment copied from https://github.com/python-rope/rope/pull/380#issuecomment-917687734 > One maybe-bug with this refactoring: > > ``` > def my_func(): > for dummy in range(10): > i += 1 > ``` > > Current...