Title: handling of `exclude` configuration changed in an incompatible way in 0.930 · Issue #11830 · python/mypy · GitHub
Open Graph Title: handling of `exclude` configuration changed in an incompatible way in 0.930 · Issue #11830 · python/mypy
X Title: handling of `exclude` configuration changed in an incompatible way in 0.930 · Issue #11830 · python/mypy
Description: #11825 seems related but slightly different as that one causes a crash -- I believe this was broken in #11329 Bug Report for example: (this is reduced from a larger example just to demonstrate a minimal example) # mypy.ini [mypy] exclude...
Open Graph Description: #11825 seems related but slightly different as that one causes a crash -- I believe this was broken in #11329 Bug Report for example: (this is reduced from a larger example just to demonstrate a mi...
X Description: #11825 seems related but slightly different as that one causes a crash -- I believe this was broken in #11329 Bug Report for example: (this is reduced from a larger example just to demonstrate a mi...
Opengraph URL: https://github.com/python/mypy/issues/11830
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"handling of `exclude` configuration changed in an incompatible way in 0.930","articleBody":"https://github.com/python/mypy/issues/11825 seems related but slightly different as that one causes a crash -- I believe this was broken in https://github.com/python/mypy/pull/11329\r\n\r\n**Bug Report**\r\n\r\nfor example: (this is reduced from a larger example just to demonstrate a minimal example)\r\n\r\n```ini\r\n# mypy.ini\r\n[mypy]\r\nexclude=(?x)\r\n ^(\r\n setup\\.py$\r\n )\r\n```\r\n\r\n\r\n**To Reproduce**\r\n\r\nset up a configuration above and run mypy\r\n\r\n**Expected Behavior**\r\n\r\nin mypy 0.920 this excluded all `setup.py` files\r\n\r\n**Actual Behavior**\r\n\r\nthis appears to exclude *all* files:\r\n\r\n```console\r\n$ mypy .\r\nThere are no .py[i] files in directory '.'\r\n```\r\n\r\n**Your Environment**\r\n\r\n\u003c!-- Include as many relevant details about the environment you experienced the bug in -->\r\n\r\n- Mypy version used: 0.930\r\n- Mypy command-line flags: (see above)\r\n- Mypy configuration options from `mypy.ini` (and other config files): (see above)\r\n- Python version used: 3.8.10\r\n- Operating system and version: ubuntu 20.04\r\n\r\n\u003c!--\r\nYou can freely edit this text, please remove all the lines\r\nyou believe are unnecessary.\r\n-->\r\n","author":{"url":"https://github.com/asottile","@type":"Person","name":"asottile"},"datePublished":"2021-12-23T00:30:45Z","url":"https://github.com/python/mypy/issues/11830"}
| 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:b3af7127-a51c-9166-99b5-7da7c1213b38 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D53E:1EE55B:2248777:2EFEFDD:6B0032F3 |
| html-safe-nonce | 5087c74eb3c3d490eac76ed210396609a28a55672c81c0b3cea61f4882d72952 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTNFOjFFRTU1QjoyMjQ4Nzc3OjJFRkVGREQ6NkIwMDMyRjMiLCJ2aXNpdG9yX2lkIjoiMjgxMDc4Njc1OTYyODA0Mjk5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | affabf84c98e9b5565429b4751b52d5b583004462417d52bc85283d14fd9e271 |
| hovercard-subject-tag | issue:1087277162 |
| 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/11830/issue_layout |
| twitter:image | https://opengraph.githubassets.com/726aca8c4abf5a2041390b0ba4e44004b243dd4c73fc085ea4abffd113fc1aff/python/mypy/issues/11830 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/726aca8c4abf5a2041390b0ba4e44004b243dd4c73fc085ea4abffd113fc1aff/python/mypy/issues/11830 |
| og:image:alt | #11825 seems related but slightly different as that one causes a crash -- I believe this was broken in #11329 Bug Report for example: (this is reduced from a larger example just to demonstrate a mi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asottile |
| 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