@@ -58,13 +58,13 @@ class Prefs:
5858 description = dedent ("""
5959 Specify which files and folders to ignore in the project.
6060 Changes to ignored resources are not added to the history and
61- VCSs. Also they are not returned in `Project.get_files()`.
61+ VCSs. Also they are not returned in `` Project.get_files()` `.
6262 Note that ``?`` and ``*`` match all characters but slashes.
63- ' *.pyc' : matches ' test.pyc' and ' pkg/test.pyc'
64- ' mod*.pyc' : matches ' test/mod1.pyc' but not ' mod/1.pyc'
65- ' .svn' : matches ' pkg/.svn' and all of its children
66- ' build/*.o' : matches ' build/lib.o' but not ' build/sub/lib.o'
67- ' build//*.o' : matches ' build/lib.o' and ' build/sub/lib.o'
63+ `` *.pyc`` : matches `` test.pyc`` and `` pkg/test.pyc``
64+ `` mod*.pyc`` : matches `` test/mod1.pyc`` but not `` mod/1.pyc``
65+ `` .svn`` : matches `` pkg/.svn`` and all of its children
66+ `` build/*.o`` : matches `` build/lib.o`` but not `` build/sub/lib.o``
67+ `` build//*.o`` : matches `` build/lib.o`` and `` build/sub/lib.o``
6868 """ ),
6969 )
7070 python_files : List [str ] = field (
@@ -83,9 +83,9 @@ class Prefs:
8383 for finding modules). You can add paths to that list. Note
8484 that rope guesses project source folders correctly most of the
8585 time; use this if you have any problems.
86- The folders should be relative to project root and use '/' for
86+ The folders should be relative to project root and use ``/`` for
8787 separating folders regardless of the platform rope is running on.
88- ' src/my_source_folder' for instance.
88+ `` src/my_source_folder`` for instance.
8989 """ ),
9090 default_factory = lambda : [],
9191 )
@@ -98,19 +98,19 @@ class Prefs:
9898 )
9999 compress_objectdb : bool = field (
100100 default = False ,
101- description = "Deprecated. This has no effect" ,
101+ description = "** Deprecated** . This has no effect" ,
102102 )
103103 automatic_soa : bool = field (
104- True , "If `True`, rope analyzes each module when it is being saved."
104+ True , "If `` True` `, rope analyzes each module when it is being saved."
105105 )
106106 soa_followed_calls : int = field (
107107 default = 0 , description = "The depth of calls to follow in static object analysis"
108108 )
109109 perform_doa : bool = field (
110110 default = True ,
111111 description = dedent ("""
112- If `False` when running modules or unit tests 'dynamic object analysis' is turned off.
113- This makes them much faster.
112+ If `` False`` when running modules or unit tests 'dynamic object
113+ analysis' is turned off. This makes them much faster.
114114 """ ),
115115 )
116116 validate_objectdb : bool = field (
@@ -124,7 +124,7 @@ class Prefs:
124124 )
125125 compress_history : bool = field (
126126 default = False ,
127- description = "Deprecated. This has no effect" ,
127+ description = "** Deprecated** . This has no effect" ,
128128 )
129129
130130 indent_size : int = field (
@@ -145,35 +145,36 @@ class Prefs:
145145
146146 import_dynload_stdmods : bool = field (
147147 default = True ,
148- description = "Add all standard c-extensions to extension_modules list." ,
148+ description = "Add all standard c-extensions to `` extension_modules`` list." ,
149149 )
150150 ignore_syntax_errors : bool = field (
151151 default = False ,
152152 description = dedent ("""
153- If `True` modules with syntax errors are considered to be empty.
154- The default value is `False`; When `False` syntax errors raise
155- `rope.base.exceptions.ModuleSyntaxError` exception.
153+ If `` True` ` modules with syntax errors are considered to be empty.
154+ The default value is `` False`` ; When `` False` ` syntax errors raise
155+ `` rope.base.exceptions.ModuleSyntaxError` ` exception.
156156 """ ),
157157 )
158158
159159 ignore_bad_imports : bool = field (
160160 default = False ,
161161 description = dedent ("""
162- If `True`, rope ignores unresolvable imports. Otherwise, they
162+ If `` True` `, rope ignores unresolvable imports. Otherwise, they
163163 appear in the importing namespace.
164164 """ ),
165165 )
166166 prefer_module_from_imports : bool = field (
167167 default = False ,
168168 description = dedent ("""
169- If `True`, rope will insert new module imports as `from <package> import <module>`by default.
169+ If ``True``, rope will insert new module imports as ``from
170+ <package> import <module>`` by default.
170171 """ ),
171172 )
172173
173174 split_imports : bool = field (
174175 default = False ,
175176 description = dedent ("""
176- If `True`, rope will transform a comma list of imports into
177+ If `` True` `, rope will transform a comma list of imports into
177178 multiple separate import statements when organizing
178179 imports.
179180 """ ),
@@ -182,15 +183,15 @@ class Prefs:
182183 pull_imports_to_top : bool = field (
183184 default = True ,
184185 description = dedent ("""
185- If `True`, rope will remove all top-level import statements and
186+ If `` True` `, rope will remove all top-level import statements and
186187 reinsert them at the top of the module when making changes.
187188 """ ),
188189 )
189190
190191 sort_imports_alphabetically : bool = field (
191192 default = False ,
192193 description = dedent ("""
193- If `True`, rope will sort imports alphabetically by module name instead
194+ If `` True` `, rope will sort imports alphabetically by module name instead
194195 of alphabetically by import statement, with from imports after normal
195196 imports.
196197 """ ),
@@ -199,12 +200,15 @@ class Prefs:
199200 "rope.base.oi.type_hinting.factory.default_type_hinting_factory" ,
200201 description = dedent ("""
201202 Location of implementation of
202- rope.base.oi.type_hinting.interfaces.ITypeHintingFactory In general
203- case, you don't have to change this value, unless you're an rope expert.
204- Change this value to inject you own implementations of interfaces
205- listed in module rope.base.oi.type_hinting.providers.interfaces
206- For example, you can add you own providers for Django Models, or disable
207- the search type-hinting in a class hierarchy, etc.
203+ ``rope.base.oi.type_hinting.interfaces.ITypeHintingFactory``
204+
205+ In general case, you don't have to change this value, unless you're
206+ an rope expert. Change this value to inject you own
207+ implementations of interfaces listed in module
208+ ``rope.base.oi.type_hinting.providers.interfaces``
209+
210+ For example, you can add you own providers for Django Models, or
211+ disable the search type-hinting in a class hierarchy, etc.
208212 """ ),
209213 )
210214 project_opened : Optional [Callable ] = field (
0 commit comments