Skip to content

Commit a6e4a64

Browse files
committed
Fixed up coverage configuration
Also improved sublime text project
1 parent 1bfb44c commit a6e4a64

File tree

2 files changed

+25
-37
lines changed

2 files changed

+25
-37
lines changed

Diff for: .coveragerc

+2-5
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@ source = git
33

44
; to make nosetests happy
55
[report]
6-
omit =
7-
*/yaml*
8-
*/tests/*
9-
*/python?.?/*
10-
*/site-packages/nose/*
6+
include = */git/*
7+
omit = */git/ext/*

Diff for: etc/sublime-text/git-python.sublime-project

+23-32
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
"folder_exclude_patterns" : [
1616
".git",
1717
"cover",
18-
"git/ext"
18+
"git/ext",
19+
"dist",
20+
".tox",
21+
"doc/build",
22+
"*.egg-info"
1923
]
2024
},
2125
// GITDB
@@ -32,40 +36,27 @@
3236
"folder_exclude_patterns" : [
3337
".git",
3438
"cover",
35-
"gitdb/ext"
39+
"gitdb/ext",
40+
"dist",
41+
"doc/build",
42+
".tox",
3643
]
3744
},
3845
// // SMMAP
3946
// ////////
40-
// {
41-
// "follow_symlinks": true,
42-
// "path": "../../git/ext/gitdb/gitdb/ext/smmap",
43-
// "file_exclude_patterns" : [
44-
// "*.sublime-workspace",
45-
// ".git",
46-
// ".noseids",
47-
// ".coverage"
48-
// ],
49-
// "folder_exclude_patterns" : [
50-
// ".git",
51-
// "cover",
52-
// ]
53-
// },
54-
// // ASYNC
55-
// ////////
56-
// {
57-
// "follow_symlinks": true,
58-
// "path": "../../git/ext/gitdb/gitdb/ext/async",
59-
// "file_exclude_patterns" : [
60-
// "*.sublime-workspace",
61-
// ".git",
62-
// ".noseids",
63-
// ".coverage"
64-
// ],
65-
// "folder_exclude_patterns" : [
66-
// ".git",
67-
// "cover",
68-
// ]
69-
// },
47+
{
48+
"follow_symlinks": true,
49+
"path": "../../git/ext/gitdb/gitdb/ext/smmap",
50+
"file_exclude_patterns" : [
51+
"*.sublime-workspace",
52+
".git",
53+
".noseids",
54+
".coverage"
55+
],
56+
"folder_exclude_patterns" : [
57+
".git",
58+
"cover",
59+
]
60+
},
7061
]
7162
}

0 commit comments

Comments
 (0)