rope icon indicating copy to clipboard operation
rope copied to clipboard

a python refactoring library

Results 162 rope issues
Sort by recently updated
recently updated
newest added

# Description The main autoimport class has gotten quite large. This PR simplifies it by splitting out a Database object. It also adds an index function to unify indexing between...

On building my packages I'm using `sphinx-build` command with `-n` switch which shows warmings about missing references. These are not critical issues. Here is the output with warnings: ```console ```...

bug

The method that overrides the superclass method receives the refactoring without warning the user that there is a superclass method. It would be nice if Rope could emit a warning...

bug
rename-refactor

Rope causes a compilation error after modifying the loop inside the return using the inlined method. It would be nice if Rope sent a warning to the user that the...

bug
inline-refactor

Abstract methods do not have an implementation in the class where they are declared; their implementation is expected to be provided by concrete subclasses. It would be nice if Rope...

bug
inline-refactor

Steps to reproduce the behavior: 1. Code before refactoring: structure: project | - src | -- \_\_init\_\_.py | -- main.py | -- test.py main.py ```python import sys class Base: def...

bug
inline-refactor

Adds a failing test case for https://github.com/python-rope/rope/issues/731: ```console > self.assertEqual(expected, self.mod1.read()) E AssertionError: 'def import_later():\n import pkg2.pkg3.pkg4.mod4' != 'import pkg2.pkg3.pkg4.mod4\ndef import_la[34 chars]mod4' E + import pkg2.pkg3.pkg4.mod4 E def import_later(): E...

#504 ## BREAKING CHANGES: 1. Schema change on database (fixed by auto-versioning) 2. SearchResult (only for the full API, not the simple one) ## Other concerns: - Repeatedly stores module...

autoimport

**Describe the bug** When `MoveModule` encounters an import statement inside a function (thus, evaluated at some unknown point later and maybe never), and the import statement concerns the module being...

bug

What needed to be changed to make `Resource`, `File`, and `Folder` implement a `pathlib`-like interface: 1. `Resource` should implement `os.PathLike` #738 2. `File.read()` should be deprecated, renamed to `File.read_text()` 3....

enhancement
cleanup