bazel-mypy-integration
bazel-mypy-integration copied to clipboard
ππΏπ Integrate MyPy type-checking into your Python Bazel builds
Hi, when I upgraded this repo from 0.2.1 to 0.4.0 I started getting the following build error: ``` INFO: Invocation ID: 3ac6f011-c75e-44e9-be22-5c78d2ade8f6 ERROR: /home/dummy/BUILD:27: 12: every rule of type mypy_test...
I've tried several different ways of referencing packages like `types-python-dateutil` from PyPI and I can't get any of them to actually provide the type stubs to mypy using `bazel-mypy-integration`. Here's...
Hi, I work on a large monorepo that has multiple projects owned by different people. I'm migrating these projects to bazel and currently they each have their own `mypy.ini` file....
# Description. Using mypy plugin doesn't seem possible. ``` cat mypy.ini [mypy] ignore_missing_imports = True plugins = pydantic.mypy ``` ``` external/mypy_integration_config/mypy.ini:4: error: Error importing plugin 'pydantic.mypy': No module named 'pydantic'...
Also use maybe() helper and name repository_ctx object rctx to distinguish from action context
Will the `bazel-mypy-integration` be superseded by the `bazel-linting-system`? Thanks, again, for your efforts on both fronts.
This is basically an update of PR #25 for the new version of the repo - I think it can be enormously valuable as at least an option. EDIT: I...
I hope this makes it a little clearer -- when reading this I didn't know what the file should be called so I had to read ahead and then jump...
Mypy prior to 0.800 didn't support Python 3.9, so I was getting test failures locally. Bumped the version in `current_mypy_version.txt` to fix that. New mypy was also unhappy about `test/types`...