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

Method _violations

tests/test_keyboard_interrupt_checker.py:92–93  ·  view source on GitHub ↗
(self, code: str)

Source from the content-addressed store, hash-verified

90 """KBI002: KeyboardInterrupt handler missing required call."""
91
92 def _violations(self, code: str) -> list[Violation]:
93 return check_file("<test>", code)
94
95 def _codes(self, code: str) -> list[str]:
96 return [v.code for v in self._violations(code)]

Callers 1

_codesMethod · 0.95

Calls 1

check_fileFunction · 0.90

Tested by

no test coverage detected