Title: mypy doesn't recurse through directories, but -h says it does · Issue #8548 · python/mypy · GitHub
Open Graph Title: mypy doesn't recurse through directories, but -h says it does · Issue #8548 · python/mypy
X Title: mypy doesn't recurse through directories, but -h says it does · Issue #8548 · python/mypy
Description: According to mypy -h: Mypy is a program that will type check your Python code. Pass in any files or folders you want to type check. Mypy will recursively traverse any provided folders to find .py files: $ mypy my_program.py my_src_folder...
Open Graph Description: According to mypy -h: Mypy is a program that will type check your Python code. Pass in any files or folders you want to type check. Mypy will recursively traverse any provided folders to find .py f...
X Description: According to mypy -h: Mypy is a program that will type check your Python code. Pass in any files or folders you want to type check. Mypy will recursively traverse any provided folders to find .py f...
Opengraph URL: https://github.com/python/mypy/issues/8548
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mypy doesn't recurse through directories, but -h says it does","articleBody":"According to `mypy -h`:\r\n```\r\nMypy is a program that will type check your Python code.\r\n\r\nPass in any files or folders you want to type check. Mypy will\r\nrecursively traverse any provided folders to find .py files:\r\n\r\n $ mypy my_program.py my_src_folder\r\n```\r\n\r\n\r\nBut it doesn't recurse, it only checks what's explicitly provided on the command line:\r\n```\r\n$ python3 -m venv venv\r\n$ . venv/bin/activate\r\n(venv) $ pip install mypy\r\n...\r\n(venv) $ mkdir -p test/test/\r\n(venv) $ touch test/test/a.py\r\n(venv) $ mypy test\r\nThere are no .py[i] files in directory 'test'\r\n(venv) $ touch test/b.py\r\n(venv) $ mypy test\r\nSuccess: no issues found in 1 source file\r\n(venv) $ mypy test test/test\r\nSuccess: no issues found in 2 source files\r\n```\r\n\r\nThe fix might be to change the documentation. This is easy to workaround with `find`.","author":{"url":"https://github.com/rvandegrift","@type":"Person","name":"rvandegrift"},"datePublished":"2020-03-16T23:28:52Z","url":"https://github.com/python/mypy/issues/8548"}
| 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:c1cb7e85-63db-0864-ddbd-add8c101c60c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA28:390AA2:21ECE58:2E30CCE:6B0024DE |
| html-safe-nonce | 1a1a676399424c4568c892ce8f75192698c1367d58c2139c79c16279b53e68c8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTI4OjM5MEFBMjoyMUVDRTU4OjJFMzBDQ0U6NkIwMDI0REUiLCJ2aXNpdG9yX2lkIjoiMjY5OTY5MDI0OTMzMTY4MDQ3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e44e024d7f68d46577a0a9e02447fe737a2eadb18da4cc75f0325d677ca8a8c1 |
| hovercard-subject-tag | issue:582656571 |
| 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/8548/issue_layout |
| twitter:image | https://opengraph.githubassets.com/690712bc50428b060b58c3e82d1661df3c58d742ae13b742272c9fbe30558dfe/python/mypy/issues/8548 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/690712bc50428b060b58c3e82d1661df3c58d742ae13b742272c9fbe30558dfe/python/mypy/issues/8548 |
| og:image:alt | According to mypy -h: Mypy is a program that will type check your Python code. Pass in any files or folders you want to type check. Mypy will recursively traverse any provided folders to find .py f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rvandegrift |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0 |
| 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 | 44c658b24abf00491fb7ae5f56d42c9f38cbeab2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width