Title: Format on type adds unnecessary spaces · Issue #1790 · microsoft/vscode-python · GitHub
Open Graph Title: Format on type adds unnecessary spaces · Issue #1790 · microsoft/vscode-python
X Title: Format on type adds unnecessary spaces · Issue #1790 · microsoft/vscode-python
Description: x = 0 y = 1 if x() == -y: print("THAT") turns into: x = 0 y = 1 if x() == - y: print("THAT") Brett Cannon (@brettcannon) please confirm this is a bug. Based on my knowledge of Pep8 this is wrong.
Open Graph Description: x = 0 y = 1 if x() == -y: print("THAT") turns into: x = 0 y = 1 if x() == - y: print("THAT") Brett Cannon (@brettcannon) please confirm this is a bug. Based on my knowledge of Pep8 this is wrong.
X Description: x = 0 y = 1 if x() == -y: print("THAT") turns into: x = 0 y = 1 if x() == - y: print("THAT") Brett Cannon (@brettcannon) please confirm this is a bug. Based on my knowledge of P...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/1790
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Format on type adds unnecessary spaces","articleBody":"```python\r\nx = 0\r\ny = 1\r\nif x() == -y:\r\n print(\"THAT\")\r\n\r\n```\r\n\r\nturns into:\r\n\r\n```python\r\nx = 0\r\ny = 1\r\nif x() == - y:\r\n print(\"THAT\")\r\n```\r\n\r\n@brettcannon please confirm this is a bug. Based on my knowledge of Pep8 this is wrong.","author":{"url":"https://github.com/DonJayamanne","@type":"Person","name":"DonJayamanne"},"datePublished":"2018-05-29T23:09:58Z","url":"https://github.com/microsoft/vscode-python/issues/1790"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:9b02bf5a-b1c9-83c4-e9d7-ff430c0704ca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D62A:2A4404:2E5B51:3D0178:6AFE5CFE |
| html-safe-nonce | 75a2ead80146fbae341ba820a733fe1967f58403fa243b6f0c66a13bc17f712a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjJBOjJBNDQwNDoyRTVCNTE6M0QwMTc4OjZBRkU1Q0ZFIiwidmlzaXRvcl9pZCI6IjYwMDAwNTE2MTkwNDE3OTUzMjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0aa894483d2c08c91f013eb4e2bb45eefa94050e5d504e867c07f48238b79dfd |
| hovercard-subject-tag | issue:327518237 |
| 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/microsoft/vscode-python/1790/issue_layout |
| twitter:image | https://opengraph.githubassets.com/77086a0b7d95bf61bd62af363805ec12c74c534fea71b2dbb61d9c00e1ccce35/microsoft/vscode-python/issues/1790 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/77086a0b7d95bf61bd62af363805ec12c74c534fea71b2dbb61d9c00e1ccce35/microsoft/vscode-python/issues/1790 |
| og:image:alt | x = 0 y = 1 if x() == -y: print("THAT") turns into: x = 0 y = 1 if x() == - y: print("THAT") Brett Cannon (@brettcannon) please confirm this is a bug. Based on my knowledge of Pep8 this is wrong. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DonJayamanne |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/vscode-python git https://github.com/microsoft/vscode-python.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 106462765 |
| octolytics-dimension-repository_nwo | microsoft/vscode-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 49946255 |
| octolytics-dimension-repository_parent_nwo | DonJayamanne/pythonVSCode |
| octolytics-dimension-repository_network_root_id | 49946255 |
| octolytics-dimension-repository_network_root_nwo | DonJayamanne/pythonVSCode |
| 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 | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width