MCPcopy Create free account
hub / github.com/FastLED/FastLED / violation_count

Method violation_count

ci/util/check_files.py:85–87  ·  view source on GitHub ↗

Get the number of violations in this file.

(self)

Source from the content-addressed store, hash-verified

83 self.violations.append(Violation(line_number, content))
84
85 def violation_count(self) -> int:
86 """Get the number of violations in this file."""
87 return len(self.violations)
88
89 def has_violations(self) -> bool:
90 """Check if there are any violations."""

Callers 1

total_violationsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected