Skip to content

Commit

Permalink
remove unnecessary prints
Browse files Browse the repository at this point in the history
  • Loading branch information
peterg79 authored and Bachmann1234 committed Nov 30, 2022
1 parent 966215e commit 3c112e4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions diff_cover/violationsreporters/violations_reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,6 @@ def parse(lcov_file):
raise ValueError(f"Unknown syntax in lcov report: {line}")

lcov.close()
print(lcov_report)
return lcov_report

def _cache_file(self, src_path):
Expand Down Expand Up @@ -357,17 +356,12 @@ def _cache_file(self, src_path):
# search for `/home/user/work/diff-cover/other_package/some_file.py`
src_abs_path = util.to_unix_path(GitPathTool.absolute_path(src_path))

print(src_rel_path)
print(src_abs_path)
print(self._lcov_roots)

# Loop through the files that contain the xml roots
for lcov_document in self._lcov_roots:

src_search_path = src_abs_path
if src_search_path not in lcov_document:
src_search_path = src_rel_path
print("search: " + src_search_path)

# First case, need to define violations initially
if violations is None:
Expand Down

0 comments on commit 3c112e4

Please sign in to comment.