Check if there are any violations.
(self)
| 87 | return len(self.violations) |
| 88 | |
| 89 | def has_violations(self) -> bool: |
| 90 | """Check if there are any violations.""" |
| 91 | return len(self.violations) > 0 |
| 92 | |
| 93 | |
| 94 | @dataclass |
no outgoing calls
no test coverage detected