Diff: HEAD^ HEAD, staged and unstaged changes
232 233 234 235 236 237 238 239 240
# difference between changed_lines and line_nodes df = set(changed_lines).difference(measured) # intersection between changed_lines and line_nodes it = set(changed_lines).intersection(measured) violations = { Violation(int(line), None) for line in df }
1 2 3 4 5 6 7
[tool.poetry] name = "dcov" version = "1.0.6" description = "Modify diff algorithm" authors = ["See Contributors"] homepage = "https://github.com/xiak/dcov" repository = "https://github.com/xiak/dcov"