Closed Mic92 closed 1 year ago
Unlike normal formatter type checking always needs to take the whole module into account. That's why cannot just pass single files to mypy. This shouldn't be a problem because mypy never actually format files.
Real world example: https://github.com/numtide/harvest-invoice-calculator/commit/88d3f1da65cc042ae8fc6cf4238cb80eac3ddb13
Unlike normal formatter type checking always needs to take the whole module into account. That's why cannot just pass single files to mypy. This shouldn't be a problem because mypy never actually format files.