Title: python.linting.flake8CategorySeverity.F should default to "Warning", not "Error" · Issue #815 · microsoft/vscode-python · GitHub
Open Graph Title: python.linting.flake8CategorySeverity.F should default to "Warning", not "Error" · Issue #815 · microsoft/vscode-python
X Title: python.linting.flake8CategorySeverity.F should default to "Warning", not "Error" · Issue #815 · microsoft/vscode-python
Description: (Moving over from microsoft/vscode#43851) With flake8, the "F*" issues are labeled as errors by default (https://code.visualstudio.com/docs/python/linting#_flake8). I think this comes from a misunderstanding of what "F" (vs. "W" or "E") ...
Open Graph Description: (Moving over from microsoft/vscode#43851) With flake8, the "F*" issues are labeled as errors by default (https://code.visualstudio.com/docs/python/linting#_flake8). I think this comes from a misund...
X Description: (Moving over from microsoft/vscode#43851) With flake8, the "F*" issues are labeled as errors by default (https://code.visualstudio.com/docs/python/linting#_flake8). I think this comes fro...
Opengraph URL: https://github.com/microsoft/vscode-python/issues/815
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"python.linting.flake8CategorySeverity.F should default to \"Warning\", not \"Error\"","articleBody":"(Moving over from https://github.com/Microsoft/vscode/issues/43851)\r\n\r\n\u003c!-- Do you have a question? Please ask it on https://stackoverflow.com/questions/tagged/vscode. -->\r\n\r\nWith flake8, the \"F*\" issues are labeled as errors by default (https://code.visualstudio.com/docs/python/linting#_flake8). \r\n\r\nI think this comes from a misunderstanding of what \"F\" (vs. \"W\" or \"E\") means in this context. For flake8, it means that these are issues flagged by pyflakes, rather than that these are fatal errors. See http://flake8.pycqa.org/en/latest/glossary.html#term-class\r\n\r\nThe upshot is that issues like unused imports are flagged as errors by default with pyflake, rather than as warnings. They should be warnings:\r\n\r\n```json\r\n{\r\n \"python.linting.flake8CategorySeverity.F\": \"Warning\"\r\n}\r\n```\r\n\r\n\u003c!-- Use Help > Report Issue to prefill these. -->\r\n- VSCode Version: Version 1.19.2 (1.19.2)\r\n- OS Version: macOS Sierra 10.12.6 (16G29)\r\n","author":{"url":"https://github.com/danvk","@type":"Person","name":"danvk"},"datePublished":"2018-02-17T19:54:24Z","url":"https://github.com/microsoft/vscode-python/issues/815"}
| 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:16f0a5ab-50b1-3ae3-d10e-1b28dce6d44c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9016:57FC0:823A:A1AA:6AFE3005 |
| html-safe-nonce | 552796806db9a417b1b925b4c8b070bc38100d985778b6e7549a7d51c93fedaf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDE2OjU3RkMwOjgyM0E6QTFBQTo2QUZFMzAwNSIsInZpc2l0b3JfaWQiOiI1NjM4OTg1Mjc2MjI0MDU3MzQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8a9fa0ac819d25b30dbc0e155236df5880995b6c8bd80742bb67b1e6984b8510 |
| hovercard-subject-tag | issue:298031559 |
| 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/815/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f7574c838c3cc316c9a263bbcc2656c46a329301a29e6bcffb7dca99107ce855/microsoft/vscode-python/issues/815 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f7574c838c3cc316c9a263bbcc2656c46a329301a29e6bcffb7dca99107ce855/microsoft/vscode-python/issues/815 |
| og:image:alt | (Moving over from microsoft/vscode#43851) With flake8, the "F*" issues are labeled as errors by default (https://code.visualstudio.com/docs/python/linting#_flake8). I think this comes from a misund... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | danvk |
| hostname | github.com |
| expected-hostname | github.com |
| None | d70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2 |
| 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 | ccb88d9c92abe69245b429398c8a57ae87070c7c |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width