Common parts of ropemacs and ropevim.

python-rope, updated 🕥 2022-07-21 01:30:21

======== 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.

Contributing

The following sets up a development environment and run the tests:

.. code:: bash

pip install -e . pip install -r test_requirements.txt pytest

Special Thanks

Many thanks the following people:

  • Ali Gholami Rudi (@aligrudi_) for initially creating the initial rope, ropemode project and most of Rope's code

.. _@aligrudi: https://github.com/aligrudi

Issues

ropemode is unusable with unicode

opened on 2014-05-23 11:38:47 by mcepl

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)

ropemode doesn't offer completion for "from mypackage.foo import HERE"

opened on 2013-12-01 21:01:07 by mcepl

I would like to see ropemode offer completion for "from mypackage.mymodule import " and "import mypackage."