Title: pyflakes finds a lot of issues in html5lib (some critical like the "undefined" ones at the bottom) · Issue #1 · html5lib/html5lib-python · GitHub
Open Graph Title: pyflakes finds a lot of issues in html5lib (some critical like the "undefined" ones at the bottom) · Issue #1 · html5lib/html5lib-python
X Title: pyflakes finds a lot of issues in html5lib (some critical like the "undefined" ones at the bottom) · Issue #1 · html5lib/html5lib-python
Description: From Google Code, issue #221, reported by @mo. This is a more recent run post python3 merge below. $ pyflakes html5lib/ html5lib/__init__.py:16: 'parse' imported but unused html5lib/__init__.py:16: 'HTMLParser' imported but unused html5l...
Open Graph Description: From Google Code, issue #221, reported by @mo. This is a more recent run post python3 merge below. $ pyflakes html5lib/ html5lib/__init__.py:16: 'parse' imported but unused html5lib/__init__.py:16:...
X Description: From Google Code, issue #221, reported by @mo. This is a more recent run post python3 merge below. $ pyflakes html5lib/ html5lib/__init__.py:16: 'parse' imported but unused html5lib/__init_...
Opengraph URL: https://github.com/html5lib/html5lib-python/issues/1
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pyflakes finds a lot of issues in html5lib (some critical like the \"undefined\" ones at the bottom)","articleBody":"From Google Code, issue #221, reported by @mo. This is a more recent run post python3 merge below.\n\n```\n$ pyflakes html5lib/\nhtml5lib/__init__.py:16: 'parse' imported but unused\nhtml5lib/__init__.py:16: 'HTMLParser' imported but unused\nhtml5lib/__init__.py:16: 'parseFragment' imported but unused\nhtml5lib/__init__.py:17: 'getTreeBuilder' imported but unused\nhtml5lib/__init__.py:18: 'getTreeWalker' imported but unused\nhtml5lib/__init__.py:19: 'serialize' imported but unused\nhtml5lib/inputstream.py:6: 'types' imported but unused\nhtml5lib/inputstream.py:110: local variable 'data' is assigned to but never used\nhtml5lib/inputstream.py:293: 'sys' imported but unused\nhtml5lib/tokenizer.py:11: 'entitiesWindows1252' imported but unused\nhtml5lib/tokenizer.py:12: 'asciiLowercase' imported but unused\nhtml5lib/tokenizer.py:801: redefinition of unused 'scriptDataDoubleEscapedDashState' from line 778\nhtml5lib/utils.py:3: 'version_info' imported but unused\nhtml5lib/html5parser.py:4: 'sys' imported but unused\nhtml5lib/html5parser.py:17: 'formattingElements' imported but unused\nhtml5lib/html5parser.py:18: 'tableInsertModeElements' imported but unused\nhtml5lib/html5parser.py:19: 'voidElements' imported but unused\nhtml5lib/html5parser.py:20: redefinition of unused 'spaceCharacters' from line 16\nhtml5lib/html5parser.py:91: local variable 'e' is assigned to but never used\nhtml5lib/html5parser.py:408: local variable 'element' is assigned to but never used\nhtml5lib/html5parser.py:1405: local variable 'name' is assigned to but never used\nhtml5lib/html5parser.py:1591: local variable 'node' is assigned to but never used\nhtml5lib/tests/__init__.py:12: 'support' imported but unused\nhtml5lib/tests/test_serializer.py:18: 'html5parser' imported but unused\nhtml5lib/tests/test_serializer.py:175: local variable 'test_name' is assigned to but never used\nhtml5lib/tests/test_parser2.py:5: 'support' imported but unused\nhtml5lib/tests/test_parser2.py:37: local variable 'doc' is assigned to but never used\nhtml5lib/tests/support.py:15: 'html5lib' imported but unused\nhtml5lib/tests/support.py:16: 'html5parser' imported but unused\nhtml5lib/tests/support.py:46: 'lxml' imported but unused\nhtml5lib/tests/test_sanitizer.py:3: 'os' imported but unused\nhtml5lib/tests/test_sanitizer.py:4: 'sys' imported but unused\nhtml5lib/tests/test_sanitizer.py:5: 'unittest' imported but unused\nhtml5lib/tests/test_stream.py:3: 'support' imported but unused\nhtml5lib/tests/tokenizertotree.py:10: 'test_parser' imported but unused\nhtml5lib/tests/test_tokenizer.py:5: 'sys' imported but unused\nhtml5lib/tests/test_tokenizer.py:7: 'io' imported but unused\nhtml5lib/tests/test_tokenizer.py:183: local variable 'testName' is assigned to but never used\nhtml5lib/tests/test_tokenizer.py:187: local variable 'skip' is assigned to but never used\nhtml5lib/tests/test_parser.py:6: 'io' imported but unused\nhtml5lib/tests/test_parser.py:14: 'html5lib' imported but unused\nhtml5lib/tests/test_parser.py:15: 'treebuilders' imported but unused\nhtml5lib/tests/test_treewalkers.py:16: 'LintError' imported but unused\nhtml5lib/tests/test_treewalkers.py:16: 'LintFilter' imported but unused\nhtml5lib/tests/test_treewalkers.py:20: redefinition of unused 'COMMENT' from line 109\nhtml5lib/tests/test_treewalkers.py:87: 'ElementTree' imported but unused\nhtml5lib/tests/test_encoding.py:3: 're' imported but unused\nhtml5lib/tests/test_encoding.py:30: local variable 't' is assigned to but never used\nhtml5lib/tests/test_encoding.py:47: local variable 'test_name' is assigned to but never used\nhtml5lib/tests/test_encoding.py:55: 'chardet' imported but unused\nhtml5lib/treebuilders/__init__.py:37: 'sys' imported but unused\nhtml5lib/treebuilders/dom.py:5: 're' imported but unused\nhtml5lib/treebuilders/dom.py:9: 'ihatexml' imported but unused\nhtml5lib/treebuilders/etree.py:210: local variable 'finalText' is assigned to but never used\nhtml5lib/treebuilders/etree.py:274: local variable 'finalText' is assigned to but never used\nhtml5lib/trie/datrie.py:3: 'chain' imported but unused\nhtml5lib/serializer/htmlserializer.py:27: redefinition of unused 'entities' from line 14\nhtml5lib/serializer/htmlserializer.py:231: local variable 'attributes' is assigned to but never used\nhtml5lib/treewalkers/dom.py:9: 'voidElements' imported but unused\nhtml5lib/treewalkers/simpletree.py:50: undefined name '_node'\nhtml5lib/treewalkers/lxmletree.py:8: 'sys' imported but unused\nhtml5lib/treewalkers/lxmletree.py:13: 'voidElements' imported but unused\nhtml5lib/treewalkers/_base.py:98: undefined name 'NodeImplementedError'\nhtml5lib/treewalkers/_base.py:157: local variable 'endTag' is assigned to but never used\n\n$ pyflakes html5lib/ | grep undefined\nhtml5lib/treewalkers/simpletree.py:50: undefined name '_node'\nhtml5lib/treewalkers/_base.py:98: undefined name 'NodeImplementedError'\nhtml5lib/treewalkers/etree.py:129: undefined name 'moduleFactoryFactory'\n```\n","author":{"url":"https://github.com/gsnedders","@type":"Person","name":"gsnedders"},"datePublished":"2013-04-09T20:25:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1/html5lib-python/issues/1"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ce57e1fa-6f4c-74c3-8005-8fe47079d6bd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A152:216B79:A9B1A5:DF7494:696B550B |
| html-safe-nonce | 6d44140b3f5e2ad904abf146c055af425b01d2eba883f32943c1ffbeac9a9c31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTUyOjIxNkI3OTpBOUIxQTU6REY3NDk0OjY5NkI1NTBCIiwidmlzaXRvcl9pZCI6IjQ4MDUzNTUxMzIxODM4NjA0OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6a3cf01b8aa18028e9c418941ea4e9e672aaa2baa33eb48d41ada2a168c8cca4 |
| hovercard-subject-tag | issue:12990384 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/html5lib/html5lib-python/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/755903880a2075de94d45a8889f0cf4d7091caa638fd037f13e00f88a199047f/html5lib/html5lib-python/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/755903880a2075de94d45a8889f0cf4d7091caa638fd037f13e00f88a199047f/html5lib/html5lib-python/issues/1 |
| og:image:alt | From Google Code, issue #221, reported by @mo. This is a more recent run post python3 merge below. $ pyflakes html5lib/ html5lib/__init__.py:16: 'parse' imported but unused html5lib/__init__.py:16:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gsnedders |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/html5lib/html5lib-python git https://github.com/html5lib/html5lib-python.git |
| octolytics-dimension-user_id | 4092973 |
| octolytics-dimension-user_login | html5lib |
| octolytics-dimension-repository_id | 9322649 |
| octolytics-dimension-repository_nwo | html5lib/html5lib-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9322649 |
| octolytics-dimension-repository_network_root_nwo | html5lib/html5lib-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width