diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..07491451b --- /dev/null +++ b/.coveragerc @@ -0,0 +1,11 @@ +[run] +parallel = True +source = pydatastructs +omit = + */tests/* + +[report] +exclude_lines = + pragma: no cover + + raise NotImplementedError diff --git a/.gitignore b/.gitignore index 917ba6634..52b147513 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,60 @@ -*.swp -*.pyc -__pycache__/ -*.pyo -*.vs -.vs/ -.vscode/ -.pytest_cache/ +# Compiled source # +################### +*.com +*.class +*.dll +*.exe +*.o +*.so +*.gch + +# Packages # +############ +# it's better to unpack these files and commit the raw source +# git has its own built in compression methods +*.7z +*.dmg +*.gz +*.iso +*.jar +*.rar +*.tar +*.zip + +# Logs and databases # +###################### +*.log +*.sql +*.sqlite + +# OS generated files # +###################### +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db pre_commit.ps1 htmlcov *coverage* *.egg-info/ + +# Python Files # +################ +*.pyc +*.pyo +*~ +__pycache__/ +.pytest_cache/ + +# Backup Files # +################ +*.bak +*.swp + +# Editor Files # +################ +.vscode/ +.vs/ diff --git a/coveragerc_travis b/coveragerc_travis deleted file mode 100644 index cdbc4d842..000000000 --- a/coveragerc_travis +++ /dev/null @@ -1,5 +0,0 @@ -[run] -parallel = True -source = pydatastructs -omit = - */tests/* diff --git a/pydatastructs/graphs/__init__.py b/pydatastructs/graphs/__init__.py index a484339a9..423345946 100644 --- a/pydatastructs/graphs/__init__.py +++ b/pydatastructs/graphs/__init__.py @@ -5,9 +5,3 @@ Graph ) __all__.extend(graph.__all__) - -from . import adjacency_list -from .adjacency_list import ( - AdjacencyList -) -__all__.extend(adjacency_list.__all__)