Bug 182071
| Summary: | check-webkit-style: False positive python undefined variable pylon warning - linter doesn't seem to follow includes | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | lforschler |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Joseph Pecoraro
False positive python undefined variable pylon warning - linter doesn't seem to follow includes
Bug: <https://webkit.org/b/182067> Web Inspector: Simplify update-LegacyInspectorBackendCommands.rb
Attachment: <https://bugs.webkit.org/attachment.cgi?id=332203>
Style Bot:
> ERROR: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py:199: [generate_from_specification] Undefined variable 'JSBackendCommandsGenerator' [pylint/E0602] [5]
This error doesn't make sense. `JSBackendCommandsGenerator` is used multiple times in the file and imported early on. This can be a noisy false positive in some files.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |