Title: Allow PEP 561 packages to specify mypy settings · Issue #5260 · python/mypy · GitHub
Open Graph Title: Allow PEP 561 packages to specify mypy settings · Issue #5260 · python/mypy
X Title: Allow PEP 561 packages to specify mypy settings · Issue #5260 · python/mypy
Description: [This is a summary of a discussion on the typing gitter, if I missed anything please do mention it] With the expectation of many new packages being created conforming to PEP 561, @ilevkivskyi suggested that package authors should be able...
Open Graph Description: [This is a summary of a discussion on the typing gitter, if I missed anything please do mention it] With the expectation of many new packages being created conforming to PEP 561, @ilevkivskyi sugge...
X Description: [This is a summary of a discussion on the typing gitter, if I missed anything please do mention it] With the expectation of many new packages being created conforming to PEP 561, @ilevkivskyi sugge...
Opengraph URL: https://github.com/python/mypy/issues/5260
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow PEP 561 packages to specify mypy settings","articleBody":"[This is a summary of a discussion on the typing gitter, if I missed anything please do mention it]\r\nWith the expectation of many new packages being created conforming to PEP 561, @ilevkivskyi suggested that package authors should be able to set strictness settings on their code.\r\n\r\nIvan's original suggestion is to allow setting some flags like `--ignore-missing-imports`, `--no-strict-optional` in the source file(s) themselves.\r\n\r\nI suggested per-package, as defining and implementing a new format seemed like a lot of work. Also, I generally am against metadata in source code, as I find it noisy.\r\n\r\n@Michael0x2a wanted the ability to override this.\r\n\r\nMichael then suggested we mandate PEP 561 packages provide a config file and mypy can read per-module config options from said file.\r\n\r\nIvan suggested amending the suggestion to mypy will *allow* per-module config files in PEP 561 packages.\r\n\r\nI concurred with Ivan.\r\n\r\n# **tl;dr**\r\n\r\nI suggest that mypy read per-module config file settings, if a config file is found.","author":{"url":"https://github.com/emmatyping","@type":"Person","name":"emmatyping"},"datePublished":"2018-06-21T16:37:35Z","url":"https://github.com/python/mypy/issues/5260"}
| 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:c6b37f86-2c3b-b81d-8052-ae5f10c6116f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA56:36D598:3BD289:504C71:6B002981 |
| html-safe-nonce | 81caa7556d45306c7b1fa186983465afb298d83fadec028b697c8046eef0b5f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTU2OjM2RDU5ODozQkQyODk6NTA0QzcxOjZCMDAyOTgxIiwidmlzaXRvcl9pZCI6IjcwMDY3MzI4Mjg3MDQ1MTY0ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 454e13a8adc6c14615a14957cb2003a6a6fc563696b5f80febc8aa033a154e64 |
| hovercard-subject-tag | issue:334571302 |
| 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/5260/issue_layout |
| twitter:image | https://opengraph.githubassets.com/79b550e108e7ca28686c7d939631a2128a79644b1a16600cdded60e10c8991f3/python/mypy/issues/5260 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/79b550e108e7ca28686c7d939631a2128a79644b1a16600cdded60e10c8991f3/python/mypy/issues/5260 |
| og:image:alt | [This is a summary of a discussion on the typing gitter, if I missed anything please do mention it] With the expectation of many new packages being created conforming to PEP 561, @ilevkivskyi sugge... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | emmatyping |
| 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