======== ropemode ========
|Build status badge| |Latest version badge|
.. |Build status badge| image:: https://github.com/python-rope/ropemode/actions/workflows/test.yml/badge.svg :target: https://github.com/python-rope/ropemode/actions/workflows/test.yml :alt: Build Status
.. |Latest version badge| image:: https://badge.fury.io/py/ropemode.svg :target: https://badge.fury.io/py/ropemode :alt: Latest version
Library for common functionality between ropevim_ and ropemacs_. See also rope_.
.. _ropevim: https://github.com/python-rope/ropevim .. _rope: https://github.com/python-rope/rope .. _ropemacs: https://github.com/python-rope/ropemacs
Users should not install this package directly, but either ropevim_ or ropemacs_ instead.
The following sets up a development environment and run the tests:
.. code:: bash
pip install -e . pip install -r test_requirements.txt pytest
Many thanks the following people:
@aligrudi
_) for initially creating the initial rope,
ropemode project and most of Rope's code.. _@aligrudi
: https://github.com/aligrudi
source files are with encoding: utf8
most docstrings contains utf and specified like u"""юникод"""
emacs command rope-move-current-module -- review fails:
File "/usr/lib/python2.7/dist-packages/ropemode/refactor.py", line 48, in show
diffs = str(changes.get_description())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 1669-1682: ordinal not in range(128)
I would like to see ropemode offer completion for "from mypackage.mymodule import " and "import mypackage."