[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdevplatform] plugins/projectfilter: Add .pyc, .pyo and __pycache__ to the default list of excluded
From: Sven Brauch <svenbrauch () googlemail ! com>
Date: 2014-05-31 17:04:59
Message-ID: E1WqmiJ-0005RB-UT () scm ! kde ! org
[Download RAW message or body]
Git commit 66f55337b7b124909dc2bbe6c444a385830649ce by Sven Brauch.
Committed on 31/05/2014 at 17:04.
Pushed by brauch into branch 'master'.
Add .pyc, .pyo and __pycache__ to the default list of excluded files
M +3 -1 plugins/projectfilter/filter.cpp
http://commits.kde.org/kdevplatform/66f55337b7b124909dc2bbe6c444a385830649ce
diff --git a/plugins/projectfilter/filter.cpp b/plugins/projectfilter/filte=
r.cpp
index 7aaac67..2038e2a 100644
--- a/plugins/projectfilter/filter.cpp
+++ b/plugins/projectfilter/filter.cpp
@@ -89,7 +89,9 @@ SerializedFilters defaultFilters()
// generated files
<< "moc_*.cpp" << "*.moc" << "ui_*.h" << "qrc_*.cpp"
// backup files
- << "*~" << ".*.kate-swp" << ".*.swp";
+ << "*~" << ".*.kate-swp" << ".*.swp"
+ // python cache and object files
+ << "*.pyc" << "*.pyo" << "__pycache__";
foreach(const QString& filePattern, filePatterns) {
ret << SerializedFilter(filePattern, Filter::Files);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic