Title: --disallow-incomplete-defs does not print errors when run without this argument previously · Issue #4913 · python/mypy · GitHub
Open Graph Title: --disallow-incomplete-defs does not print errors when run without this argument previously · Issue #4913 · python/mypy
X Title: --disallow-incomplete-defs does not print errors when run without this argument previously · Issue #4913 · python/mypy
Description: I have a fairly large project that is partly type-checked. Using the following mypy.ini file it typechecks without errors: [mypy] ignore_missing_imports = True ; disallow_subclassing_any = True check_untyped_defs = True ; disallow_untype...
Open Graph Description: I have a fairly large project that is partly type-checked. Using the following mypy.ini file it typechecks without errors: [mypy] ignore_missing_imports = True ; disallow_subclassing_any = True che...
X Description: I have a fairly large project that is partly type-checked. Using the following mypy.ini file it typechecks without errors: [mypy] ignore_missing_imports = True ; disallow_subclassing_any = True che...
Opengraph URL: https://github.com/python/mypy/issues/4913
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"--disallow-incomplete-defs does not print errors when run without this argument previously","articleBody":"I have a fairly large project that is partly type-checked. Using the following `mypy.ini` file it typechecks without errors:\r\n\r\n```\r\n[mypy]\r\nignore_missing_imports = True\r\n; disallow_subclassing_any = True\r\ncheck_untyped_defs = True\r\n; disallow_untyped_defs = True\r\n; disallow_incomplete_defs = True\r\nwarn_redundant_casts = True\r\n; warn_return_any = True\r\nwarn_unused_ignores = True\r\nwarn_unused_configs = True\r\nstrict_optional = True\r\n```\r\n\r\nRunning it with `--disallow-incomplete-defs` or `--disallow-untyped-defs` still produces lots of warnings.\r\n\r\nSince upgrading to mypy 0.590, running `mypy`, followed by `mypy --disallow-incomplete-defs` will not output any warnings, although the latter command should produce loads. `mypy --disallow-untyped-defs` on the other hand still works. When running `mypy --disallow-incomplete-defs` after removing `.mypy_cache` or after `mypy --disallow-untyped-defs`, it will again print the warnings, until the next time `mypy` is run without arguments. `--no-incremental` also works around this problem.\r\n\r\nI tried to create a minimal test case with just one file exhibiting that problem, but unfortunately that worked correctly.\r\n\r\nI tested it with Python 3.5.5.\r\n","author":{"url":"https://github.com/srittau","@type":"Person","name":"srittau"},"datePublished":"2018-04-15T00:35:21Z","url":"https://github.com/python/mypy/issues/4913"}
| 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:d1c205ad-4cec-1ddc-827b-347eecaf539a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C04:34BCDE:12CDBB0:18CFAE4:6B000806 |
| html-safe-nonce | a3db327018bde7882470a100dce4287e8e62653b744e6f6f4fe4b7a1cbc8e3f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzA0OjM0QkNERToxMkNEQkIwOjE4Q0ZBRTQ6NkIwMDA4MDYiLCJ2aXNpdG9yX2lkIjoiNDM2OTQzNzYyMzA0Nzk2Njc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a1f95811c4348bc5c76c2c32ce2a2fdda92a801990347f6e939d9ff42a85bfc8 |
| hovercard-subject-tag | issue:314374114 |
| 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/4913/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5c4fbe173ff73512e40ef574d56bba82a399ca2544698a99f5321450bcf851a4/python/mypy/issues/4913 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5c4fbe173ff73512e40ef574d56bba82a399ca2544698a99f5321450bcf851a4/python/mypy/issues/4913 |
| og:image:alt | I have a fairly large project that is partly type-checked. Using the following mypy.ini file it typechecks without errors: [mypy] ignore_missing_imports = True ; disallow_subclassing_any = True che... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | srittau |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width