Skip to content

Commit 247a031

Browse files
committed
Merge commit '31ce804c9c96e0e35f0502b2e53705dbe40a97a2'
2 parents dcec2c5 + 31ce804 commit 247a031

File tree

212 files changed

+26310
-3769
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+26310
-3769
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ PyFlow/Configs/
99
docs/build/
1010
docs/source/_build/
1111
docs/build_docs_env.bat
12-
__pycache__/
12+
.venv
13+
.idea
14+
__pycache__/

.vscode/.ropeproject/config.py

+31-22
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,16 @@ def set_prefs(prefs):
1414
# '.svn': matches 'pkg/.svn' and all of its children
1515
# 'build/*.o': matches 'build/lib.o' but not 'build/sub/lib.o'
1616
# 'build//*.o': matches 'build/lib.o' and 'build/sub/lib.o'
17-
prefs['ignored_resources'] = ['*.pyc', '*~', '.ropeproject',
18-
'.hg', '.svn', '_svn', '.git', '.tox']
17+
prefs["ignored_resources"] = [
18+
"*.pyc",
19+
"*~",
20+
".ropeproject",
21+
".hg",
22+
".svn",
23+
"_svn",
24+
".git",
25+
".tox",
26+
]
1927

2028
# Specifies which files should be considered python files. It is
2129
# useful when you have scripts inside your project. Only files
@@ -37,66 +45,66 @@ def set_prefs(prefs):
3745
# prefs.add('python_path', '~/python/')
3846

3947
# Should rope save object information or not.
40-
prefs['save_objectdb'] = True
41-
prefs['compress_objectdb'] = False
48+
prefs["save_objectdb"] = True
49+
prefs["compress_objectdb"] = False
4250

4351
# If `True`, rope analyzes each module when it is being saved.
44-
prefs['automatic_soa'] = True
52+
prefs["automatic_soa"] = True
4553
# The depth of calls to follow in static object analysis
46-
prefs['soa_followed_calls'] = 0
54+
prefs["soa_followed_calls"] = 0
4755

4856
# If `False` when running modules or unit tests "dynamic object
4957
# analysis" is turned off. This makes them much faster.
50-
prefs['perform_doa'] = True
58+
prefs["perform_doa"] = True
5159

5260
# Rope can check the validity of its object DB when running.
53-
prefs['validate_objectdb'] = True
61+
prefs["validate_objectdb"] = True
5462

5563
# How many undos to hold?
56-
prefs['max_history_items'] = 32
64+
prefs["max_history_items"] = 32
5765

5866
# Shows whether to save history across sessions.
59-
prefs['save_history'] = True
60-
prefs['compress_history'] = False
67+
prefs["save_history"] = True
68+
prefs["compress_history"] = False
6169

6270
# Set the number spaces used for indenting. According to
6371
# :PEP:`8`, it is best to use 4 spaces. Since most of rope's
6472
# unit-tests use 4 spaces it is more reliable, too.
65-
prefs['indent_size'] = 4
73+
prefs["indent_size"] = 4
6674

6775
# Builtin and c-extension modules that are allowed to be imported
6876
# and inspected by rope.
69-
prefs['extension_modules'] = []
77+
prefs["extension_modules"] = []
7078

7179
# Add all standard c-extensions to extension_modules list.
72-
prefs['import_dynload_stdmods'] = True
80+
prefs["import_dynload_stdmods"] = True
7381

7482
# If `True` modules with syntax errors are considered to be empty.
7583
# The default value is `False`; When `False` syntax errors raise
7684
# `rope.base.exceptions.ModuleSyntaxError` exception.
77-
prefs['ignore_syntax_errors'] = False
85+
prefs["ignore_syntax_errors"] = False
7886

7987
# If `True`, rope ignores unresolvable imports. Otherwise, they
8088
# appear in the importing namespace.
81-
prefs['ignore_bad_imports'] = False
89+
prefs["ignore_bad_imports"] = False
8290

8391
# If `True`, rope will insert new module imports as
8492
# `from <package> import <module>` by default.
85-
prefs['prefer_module_from_imports'] = False
93+
prefs["prefer_module_from_imports"] = False
8694

8795
# If `True`, rope will transform a comma list of imports into
8896
# multiple separate import statements when organizing
8997
# imports.
90-
prefs['split_imports'] = False
98+
prefs["split_imports"] = False
9199

92100
# If `True`, rope will remove all top-level import statements and
93101
# reinsert them at the top of the module when making changes.
94-
prefs['pull_imports_to_top'] = True
102+
prefs["pull_imports_to_top"] = True
95103

96104
# If `True`, rope will sort imports alphabetically by module name instead
97105
# of alphabetically by import statement, with from imports after normal
98106
# imports.
99-
prefs['sort_imports_alphabetically'] = False
107+
prefs["sort_imports_alphabetically"] = False
100108

101109
# Location of implementation of
102110
# rope.base.oi.type_hinting.interfaces.ITypeHintingFactory In general
@@ -105,8 +113,9 @@ def set_prefs(prefs):
105113
# listed in module rope.base.oi.type_hinting.providers.interfaces
106114
# For example, you can add you own providers for Django Models, or disable
107115
# the search type-hinting in a class hierarchy, etc.
108-
prefs['type_hinting_factory'] = (
109-
'rope.base.oi.type_hinting.factory.default_type_hinting_factory')
116+
prefs[
117+
"type_hinting_factory"
118+
] = "rope.base.oi.type_hinting.factory.default_type_hinting_factory"
110119

111120

112121
def project_opened(project):

0 commit comments

Comments
 (0)