From e5a3259122fbb56b48d0548cfd8fb39bb2343a84 Mon Sep 17 00:00:00 2001 From: Markus Holtermann Date: Sun, 14 Feb 2016 16:59:58 +1100 Subject: [PATCH] Update python default configs --- pymode/libs2/rope/base/default_config.py | 6 +++--- pymode/libs3/rope/base/default_config.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pymode/libs2/rope/base/default_config.py b/pymode/libs2/rope/base/default_config.py index ffebcd4f..0a97ff01 100644 --- a/pymode/libs2/rope/base/default_config.py +++ b/pymode/libs2/rope/base/default_config.py @@ -20,7 +20,7 @@ def set_prefs(prefs): # useful when you have scripts inside your project. Only files # ending with ``.py`` are considered to be python files by # default. - #prefs['python_files'] = ['*.py'] + # prefs['python_files'] = ['*.py'] # Custom source folders: By default rope searches the project # for finding source folders (folders that should be searched @@ -30,10 +30,10 @@ def set_prefs(prefs): # The folders should be relative to project root and use '/' for # separating folders regardless of the platform rope is running on. # 'src/my_source_folder' for instance. - #prefs.add('source_folders', 'src') + # prefs.add('source_folders', 'src') # You can extend python path for looking up modules - #prefs.add('python_path', '~/python/') + # prefs.add('python_path', '~/python/') # Should rope save object information or not. prefs['save_objectdb'] = True diff --git a/pymode/libs3/rope/base/default_config.py b/pymode/libs3/rope/base/default_config.py index eda47b24..f45a0530 100644 --- a/pymode/libs3/rope/base/default_config.py +++ b/pymode/libs3/rope/base/default_config.py @@ -14,14 +14,14 @@ def set_prefs(prefs): # 'build/*.o': matches 'build/lib.o' but not 'build/sub/lib.o' # 'build//*.o': matches 'build/lib.o' and 'build/sub/lib.o' prefs['ignored_resources'] = ['*.pyc', '*~', '.ropeproject', - '.hg', '.svn', '_svn', '.git', + '.hg', '.svn', '_svn', '.git', '__pycache__'] # Specifies which files should be considered python files. It is # useful when you have scripts inside your project. Only files # ending with ``.py`` are considered to be python files by # default. - #prefs['python_files'] = ['*.py'] + # prefs['python_files'] = ['*.py'] # Custom source folders: By default rope searches the project # for finding source folders (folders that should be searched @@ -31,10 +31,10 @@ def set_prefs(prefs): # The folders should be relative to project root and use '/' for # separating folders regardless of the platform rope is running on. # 'src/my_source_folder' for instance. - #prefs.add('source_folders', 'src') + # prefs.add('source_folders', 'src') # You can extend python path for looking up modules - #prefs.add('python_path', '~/python/') + # prefs.add('python_path', '~/python/') # Should rope save object information or not. prefs['save_objectdb'] = True