rope
rope copied to clipboard
a python refactoring library
Currently, `setup.py` uses `io` and `os.path` for file system manipulation which can be easily replaced with`Pathlib` makes setup.py look even nicer. Would love to work on this issue!
### Steps to reproduce 1. Create a file and save it to the parent directory (outside of the project folder): ``` class my_class(): def my_method(self): self.var = 1 ``` 2....
Since making rope-auto-import work with stuff outside of the project folder has been impossible for me so far, I've tried instead using the source_folders config to add more stuff to...
Hi, I want to use to move a `class foo()` from module A to B I was looking at the source code and I found that the MoveGlobal would be...
**shameless self plug** im the author of setuptools_scm and using it in a number of my project in combination with travis deplys and git tags in order to push releases...
Hey guys! I've found one issue while development of my project: ``` In [1]: s = b'# -*- coding: utf-8 -*-\nfrom __future__ import unicode_literals\n' In [2]: start = 12 In...
I am trying to fix: 1. https://github.com/python-rope/rope/issues/234 you can even tell rope not to create .ropeproject folder 1. https://github.com/palantir/python-language-server/issues/230 Maybe we should prevent creating a .ropeproject/config.py By using `get_no_project()` instead...
A common pattern in Python libraries is to have ```python # foo/_implementation.py class MyClass: ... ``` ```python # foo/__init__.py from ._implementation import MyClass __all__ = [ "MyClass" ] ``` to...
I'm trying to substitute a variable with restructuring but it failed with following error. environment : visual studio, pypy2 5.9.0, rope 0.10.7 [dddd.py] ``` project = Project(os.path.join(defs.IO_Dir, 'test1')) mod1 =...