-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from Bachmann1234/issue-47
Fix issue 47. and 48 Actually use all the files.... and dont run over deleted ones
- Loading branch information
Showing
7 changed files
with
75 additions
and
8 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
diff_cover/tests/fixtures/git_diff_violations_two_files.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/hello.py b/hello.py | ||
index b732142..b2ba069 100644 | ||
--- a/hello.py | ||
+++ b/hello.py | ||
@@ -1 +1,2 @@ | ||
print "hello" | ||
+print unknown_var | ||
diff --git a/hi.py b/hi.py | ||
index bae1109..151d05d 100644 | ||
--- a/hi.py | ||
+++ b/hi.py | ||
@@ -1 +1,2 @@ | ||
print "hi" | ||
+print unknown_var |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
print("hello") | ||
print(unknown_var) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
print("hello") | ||
print(unknown_var) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
------------- | ||
Diff Quality | ||
Quality Report: pyflakes | ||
Diff: origin/master...HEAD, staged, and unstaged changes | ||
------------- | ||
hello.py (0.0%): | ||
2: undefined name 'unknown_var' | ||
hi.py (0.0%): | ||
2: undefined name 'unknown_var' | ||
------------- | ||
Total: 2 lines | ||
Violations: 2 lines | ||
% Quality: 0% | ||
------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters