Get total number of violations across all files.
(self)
| 108 | self.violations[file_path].add_violation(line_number, content) |
| 109 | |
| 110 | def total_violations(self) -> int: |
| 111 | """Get total number of violations across all files.""" |
| 112 | return sum(fv.violation_count() for fv in self.violations.values()) |
| 113 | |
| 114 | def file_count(self) -> int: |
| 115 | """Get number of files with violations.""" |
no test coverage detected