Skip to content

Commit

Permalink
Merge pull request #9 from dvp2015/logfunction_test
Browse files Browse the repository at this point in the history
Likefunctions fix and test
  • Loading branch information
Derek-yfqiu authored Oct 14, 2019
2 parents 2509f5c + 5a01927 commit cc873c6
Show file tree
Hide file tree
Showing 24 changed files with 1,409 additions and 548 deletions.
33 changes: 33 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[run]

include = numjuggler/*

omit =
*_tab.py

# branch = True



[report]

# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover

# Don't complain about missing debug-only code:
def __repr__
if self\.debug

# Don't complain if tests don't hit defensive assertion code:
raise AssertionError
raise NotImplementedError

# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:

ignore_errors = True
sort = Cover

15 changes: 15 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
# Special handling for binary files
# See https://git-scm.com/book/tr/v2/Customizing-Git-Git-Attributes
# Install doc2txt https://sourceforge.net/projects/docx2txt/?source=navbar
#
*.npz binary
*.xz binary
*.zip binary
*.bz2 binary
*.gz binary
*.npy binary
*.docx binary
#*.docx binary diff=word
*.png binary
#*.png diff=exif
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
# Python setup folders
build/
*.egg-info

# Byte-compiled
*.pyc

# Editor
.ropeproject/

/.gtm/

# Environments
.cache/
.idea/

# Dev.scripts results
numjuggler.dot
numjuggler.pdf
numjuggler.sfood1
numjuggler.sfood2

# Pytest and Coverage
*.log
.coverage
htmlcov/
Loading

0 comments on commit cc873c6

Please sign in to comment.