Title: Enable `explicit-override` by default in `strict` mode · Issue #17511 · python/mypy · GitHub
Open Graph Title: Enable `explicit-override` by default in `strict` mode · Issue #17511 · python/mypy
X Title: Enable `explicit-override` by default in `strict` mode · Issue #17511 · python/mypy
Description: Feature Tracking issue for enabling [tool.mypy] enable_error_code = ["explicit-override"] When strict = true Pitch As explained in PEP 698, strict enforcement of @override has many benefits. When the Mypy developers feel that @override u...
Open Graph Description: Feature Tracking issue for enabling [tool.mypy] enable_error_code = ["explicit-override"] When strict = true Pitch As explained in PEP 698, strict enforcement of @override has many benefits. When t...
X Description: Feature Tracking issue for enabling [tool.mypy] enable_error_code = ["explicit-override"] When strict = true Pitch As explained in PEP 698, strict enforcement of @override has many benefi...
Opengraph URL: https://github.com/python/mypy/issues/17511
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Enable `explicit-override` by default in `strict` mode","articleBody":"**Feature**\r\n\r\nTracking issue for enabling \r\n\r\n```toml\r\n[tool.mypy]\r\nenable_error_code = [\"explicit-override\"]\r\n```\r\n\r\nWhen\r\n\r\n```toml\r\nstrict = true\r\n```\r\n\r\n**Pitch**\r\n\r\nAs explained in [PEP 698](https://peps.python.org/pep-0698/#strict-enforcement-per-project), strict enforcement of `@override` has many benefits.\r\n\r\nWhen the Mypy developers feel that `@override` usage has had enough time for adoption in the community, enabling this by default when the user opts into `strict` mode would be helpful.\r\n\r\n**Related Discussions**\r\n\r\n- #14072\r\n- #14609\r\n- #1888","author":{"url":"https://github.com/johnthagen","@type":"Person","name":"johnthagen"},"datePublished":"2024-07-09T12:34:14Z","url":"https://github.com/python/mypy/issues/17511"}
| 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:348ce3da-b50f-fdcd-8be5-059ec4c6cd58 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA24:3A13A0:237975D:3022215:6B002D35 |
| html-safe-nonce | 3ef1ad1ea72502cc37ffa1d14a8d6e25f163fb11e9c077197135ae78b9d2ed12 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTI0OjNBMTNBMDoyMzc5NzVEOjMwMjIyMTU6NkIwMDJEMzUiLCJ2aXNpdG9yX2lkIjoiMzQ5OTc3MDM3MjI3Njg5MDkzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0350b04ad0cfc1eb77f76df4ca0e0cdcb49eb40d23ea739955bbf4b4e121e0c8 |
| hovercard-subject-tag | issue:2398089764 |
| 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/mypy/17511/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4ae12563f5167c5dd7b8588477841497cf5551c0d02eef8d38b9258209380934/python/mypy/issues/17511 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4ae12563f5167c5dd7b8588477841497cf5551c0d02eef8d38b9258209380934/python/mypy/issues/17511 |
| og:image:alt | Feature Tracking issue for enabling [tool.mypy] enable_error_code = ["explicit-override"] When strict = true Pitch As explained in PEP 698, strict enforcement of @override has many benefits. When t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | johnthagen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/mypy git https://github.com/python/mypy.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 7053637 |
| octolytics-dimension-repository_nwo | python/mypy |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7053637 |
| octolytics-dimension-repository_network_root_nwo | python/mypy |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width