From a6e4a6416162a698d87ba15693f2e7434beac644 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 6 Jan 2015 18:49:44 +0100 Subject: Fixed up coverage configuration Also improved sublime text project --- .coveragerc | 7 ++-- etc/sublime-text/git-python.sublime-project | 55 ++++++++++++----------------- 2 files changed, 25 insertions(+), 37 deletions(-) diff --git a/.coveragerc b/.coveragerc index 410ffc52..e2b6256e 100644 --- a/.coveragerc +++ b/.coveragerc @@ -3,8 +3,5 @@ source = git ; to make nosetests happy [report] -omit = - */yaml* - */tests/* - */python?.?/* - */site-packages/nose/* \ No newline at end of file +include = */git/* +omit = */git/ext/* diff --git a/etc/sublime-text/git-python.sublime-project b/etc/sublime-text/git-python.sublime-project index d3b69289..3dab9f65 100644 --- a/etc/sublime-text/git-python.sublime-project +++ b/etc/sublime-text/git-python.sublime-project @@ -15,7 +15,11 @@ "folder_exclude_patterns" : [ ".git", "cover", - "git/ext" + "git/ext", + "dist", + ".tox", + "doc/build", + "*.egg-info" ] }, // GITDB @@ -32,40 +36,27 @@ "folder_exclude_patterns" : [ ".git", "cover", - "gitdb/ext" + "gitdb/ext", + "dist", + "doc/build", + ".tox", ] }, // // SMMAP // //////// - // { - // "follow_symlinks": true, - // "path": "../../git/ext/gitdb/gitdb/ext/smmap", - // "file_exclude_patterns" : [ - // "*.sublime-workspace", - // ".git", - // ".noseids", - // ".coverage" - // ], - // "folder_exclude_patterns" : [ - // ".git", - // "cover", - // ] - // }, - // // ASYNC - // //////// - // { - // "follow_symlinks": true, - // "path": "../../git/ext/gitdb/gitdb/ext/async", - // "file_exclude_patterns" : [ - // "*.sublime-workspace", - // ".git", - // ".noseids", - // ".coverage" - // ], - // "folder_exclude_patterns" : [ - // ".git", - // "cover", - // ] - // }, + { + "follow_symlinks": true, + "path": "../../git/ext/gitdb/gitdb/ext/smmap", + "file_exclude_patterns" : [ + "*.sublime-workspace", + ".git", + ".noseids", + ".coverage" + ], + "folder_exclude_patterns" : [ + ".git", + "cover", + ] + }, ] } -- cgit v1.2.1