pytorch/tools/linter
Nikita Shulga d2ca5fa6c5 [lintrunner] Capture mypy internal error (#109421)
Mypy internal errors are reported to stderr rather than stdout and does not contain column number

This should prevent internal errors from creeping into the code and occlude other legitimate errors

Test plan: Checkout 5cd861fcf7 apply this change and see `lintrunner` run to report internal error

Fixes https://github.com/pytorch/pytorch/issues/104940

Pull Request resolved: https://github.com/pytorch/pytorch/pull/109421
Approved by: https://github.com/Skylion007
2023-09-18 15:48:14 +00:00
..
adapters [lintrunner] Capture mypy internal error (#109421) 2023-09-18 15:48:14 +00:00
clang_tidy [BE]: enable ruff rules PLR1722 and PLW3301 (#109461) 2023-09-18 02:07:21 +00:00
__init__.py