Skip to content

feat(runfiles): Added type hints to @rules_python//python/runfiles #3

feat(runfiles): Added type hints to @rules_python//python/runfiles

feat(runfiles): Added type hints to @rules_python//python/runfiles #3

Triggered via pull request December 24, 2023 02:09
Status Failure
Total duration 39s
Artifacts

mypy.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
ci: tests/runfiles/runfiles_test.py#L30
Item "None" of "Runfiles | None" has no attribute "Rlocation" [union-attr]
ci: tests/runfiles/runfiles_test.py#L30
Argument 1 to "Rlocation" of "Runfiles" has incompatible type "None"; expected "str" [arg-type]
ci: tests/runfiles/runfiles_test.py#L31
Item "None" of "Runfiles | None" has no attribute "Rlocation" [union-attr]
ci: tests/runfiles/runfiles_test.py#L32
Item "None" of "Runfiles | None" has no attribute "Rlocation" [union-attr]
ci: tests/runfiles/runfiles_test.py#L32
Argument 1 to "Rlocation" of "Runfiles" has incompatible type "int"; expected "str" [arg-type]
ci: tests/runfiles/runfiles_test.py#L34
Item "None" of "Runfiles | None" has no attribute "Rlocation" [union-attr]
ci: tests/runfiles/runfiles_test.py#L37
Item "None" of "Runfiles | None" has no attribute "Rlocation" [union-attr]
ci: tests/runfiles/runfiles_test.py#L40
Item "None" of "Runfiles | None" has no attribute "Rlocation" [union-attr]
ci: tests/runfiles/runfiles_test.py#L43
Item "None" of "Runfiles | None" has no attribute "Rlocation" [union-attr]
ci: tests/runfiles/runfiles_test.py#L46
Item "None" of "Runfiles | None" has no attribute "Rlocation" [union-attr]
ci
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/