Skip to content

Commit 2d702b7

Browse files
authored
Increased code coverage via coveragerc (#95)
* Along with increasing coverage, gitignore has been updated for standard files.
1 parent ebf5813 commit 2d702b7

File tree

4 files changed

+67
-19
lines changed

4 files changed

+67
-19
lines changed

.coveragerc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[run]
2+
parallel = True
3+
source = pydatastructs
4+
omit =
5+
*/tests/*
6+
7+
[report]
8+
exclude_lines =
9+
pragma: no cover
10+
11+
raise NotImplementedError

.gitignore

Lines changed: 56 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,60 @@
1-
*.swp
2-
*.pyc
3-
__pycache__/
4-
*.pyo
5-
*.vs
6-
.vs/
7-
.vscode/
8-
.pytest_cache/
1+
# Compiled source #
2+
###################
3+
*.com
4+
*.class
5+
*.dll
6+
*.exe
7+
*.o
8+
*.so
9+
*.gch
10+
11+
# Packages #
12+
############
13+
# it's better to unpack these files and commit the raw source
14+
# git has its own built in compression methods
15+
*.7z
16+
*.dmg
17+
*.gz
18+
*.iso
19+
*.jar
20+
*.rar
21+
*.tar
22+
*.zip
23+
24+
# Logs and databases #
25+
######################
26+
*.log
27+
*.sql
28+
*.sqlite
29+
30+
# OS generated files #
31+
######################
32+
.DS_Store
33+
.DS_Store?
34+
._*
35+
.Spotlight-V100
36+
.Trashes
37+
ehthumbs.db
38+
Thumbs.db
939
pre_commit.ps1
1040
htmlcov
1141
*coverage*
1242
*.egg-info/
43+
44+
# Python Files #
45+
################
46+
*.pyc
47+
*.pyo
48+
*~
49+
__pycache__/
50+
.pytest_cache/
51+
52+
# Backup Files #
53+
################
54+
*.bak
55+
*.swp
56+
57+
# Editor Files #
58+
################
59+
.vscode/
60+
.vs/

coveragerc_travis

Lines changed: 0 additions & 5 deletions
This file was deleted.

pydatastructs/graphs/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,3 @@
55
Graph
66
)
77
__all__.extend(graph.__all__)
8-
9-
from . import adjacency_list
10-
from .adjacency_list import (
11-
AdjacencyList
12-
)
13-
__all__.extend(adjacency_list.__all__)

0 commit comments

Comments
 (0)