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

Method _violations

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

Source from the content-addressed store, hash-verified

44 """KBI001: broad except without KeyboardInterrupt handler."""
45
46 def _violations(self, code: str) -> list[Violation]:
47 return check_file("<test>", code)
48
49 def _codes(self, code: str) -> list[str]:
50 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