Title: Adjust `Tools/wasm` linting and formatting issues found by `ruff` · Issue #103801 · python/cpython · GitHub
Open Graph Title: Adjust `Tools/wasm` linting and formatting issues found by `ruff` · Issue #103801 · python/cpython
X Title: Adjust `Tools/wasm` linting and formatting issues found by `ruff` · Issue #103801 · python/cpython
Description: Feature or enhancement After running ruff in CPython, some linting and formatting errors were found. This issue intends to fix those related to the wasm module under Tools/wasm. Pitch In the CPython directory, we run the following comman...
Open Graph Description: Feature or enhancement After running ruff in CPython, some linting and formatting errors were found. This issue intends to fix those related to the wasm module under Tools/wasm. Pitch In the CPytho...
X Description: Feature or enhancement After running ruff in CPython, some linting and formatting errors were found. This issue intends to fix those related to the wasm module under Tools/wasm. Pitch In the CPytho...
Opengraph URL: https://github.com/python/cpython/issues/103801
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Adjust `Tools/wasm` linting and formatting issues found by `ruff`","articleBody":"# Feature or enhancement\r\n\r\nAfter running [`ruff`](https://github.com/charliermarsh/ruff) in CPython, some linting and formatting errors were found.\r\nThis issue intends to fix those related to the `wasm` module under `Tools/wasm`.\r\n\r\n# Pitch\r\n\r\nIn the CPython directory, we run the following command:\r\n\r\n```sh\r\nruff .\r\n```\r\n\r\nWe can see these three alerts under the Tools/wasm module:\r\n\r\n```\r\nTools/wasm/wasm_assets.py:9:89: E501 Line too long (115 \u003e 88 characters)\r\nTools/wasm/wasm_build.py:76:18: F541 [*] f-string without any placeholders\r\nTools/wasm/wasm_build.py:601:77: F841 [*] Local variable `s` is assigned to but never used\r\n```\r\n\r\n# Previous discussion\r\n\r\nNone.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-103796\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/dversoza","@type":"Person","name":"dversoza"},"datePublished":"2023-04-24T22:00:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/103801/cpython/issues/103801"}
| 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:02bca171-9882-d89e-734e-5dac91b3bb7d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DE8:D0E56:62492:87CB9:696A615A |
| html-safe-nonce | 169627fc66ed4d55754ec4664d8139d15188fbd57a5564ef74e4effa97b2ced6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REU4OkQwRTU2OjYyNDkyOjg3Q0I5OjY5NkE2MTVBIiwidmlzaXRvcl9pZCI6IjIwNzE5Nzc4MDY4NzczMTk1MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 147b16fe28156cca5e36b10db9dcb3b771e93ebecef01e6b2e7f834684684cc3 |
| hovercard-subject-tag | issue:1682104144 |
| 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/python/cpython/103801/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d624e59c53fae12de45ecca91a3cebade2108af731331b83ff4956b930243917/python/cpython/issues/103801 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d624e59c53fae12de45ecca91a3cebade2108af731331b83ff4956b930243917/python/cpython/issues/103801 |
| og:image:alt | Feature or enhancement After running ruff in CPython, some linting and formatting errors were found. This issue intends to fix those related to the wasm module under Tools/wasm. Pitch In the CPytho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dversoza |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 87cbd411c2982752221b5751d583a515b23bf5fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width