Skip to content

Commit

Permalink
Include mypy.ini in execution environment
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-thm committed Jul 27, 2024
1 parent 61b6b27 commit 00853b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mypy/private/mypy.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ def _mypy_impl(ctx):

ctx.actions.run(
mnemonic = "mypy",
inputs = depset(direct = ctx.files.srcs + ctx.files.deps + ctx.files.caches),
inputs = depset(direct = ctx.files.srcs +
ctx.files.deps +
ctx.files.caches +
ctx.file.mypy_ini),
outputs = [cache_directory],
executable = ctx.executable.mypy_cli,
arguments = [args],
Expand Down

0 comments on commit 00853b1

Please sign in to comment.