Skip to content

Commit c9e357c

Browse files
committed
Rope ignore more.
1 parent 7f5096f commit c9e357c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pymode/libs/rope/base/default_config.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ 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', '*~', '.ropeproject', '.hg', '.svn', '_svn',
19+
'.git', '.tox', '.env', 'env', 'venv', 'node_modules',
20+
'bower_components'
21+
]
1922

2023
# Specifies which files should be considered python files. It is
2124
# useful when you have scripts inside your project. Only files

0 commit comments

Comments
 (0)