Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed noop # type: ignore comments #21273

Merged
merged 1 commit into from
May 22, 2024

Conversation

superbobry
Copy link
Member

mypy should now flag these by default.

@superbobry superbobry requested a review from jakevdp May 17, 2024 08:50
@superbobry superbobry added the pull ready Ready for copybara import and testing label May 17, 2024
@superbobry
Copy link
Member Author

Hmm, it looks like some of the # type: ignore comments were there to silence pytype.

@jakevdp
Copy link
Collaborator

jakevdp commented May 17, 2024

Hmm, it looks like some of the # type: ignore comments were there to silence pytype.

Can we use pytype: disable instead in these cases?

@superbobry
Copy link
Member Author

Yeah, we probably should. Will look into this.

mypy should now flag these by default.
copybara-service bot pushed a commit to openxla/xla that referenced this pull request May 20, 2024
--
f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1 by Sergei Lebedev <slebedev@google.com>:

Removed noop # type: ignore comments

mypy should now flag these by default.

FUTURE_COPYBARA_INTEGRATE_REVIEW=google/jax#21273 from superbobry:mypy-ruff f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1
PiperOrigin-RevId: 635270794
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request May 20, 2024
--
f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1 by Sergei Lebedev <slebedev@google.com>:

Removed noop # type: ignore comments

mypy should now flag these by default.

FUTURE_COPYBARA_INTEGRATE_REVIEW=google/jax#21273 from superbobry:mypy-ruff f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1
PiperOrigin-RevId: 635270794
copybara-service bot pushed a commit to openxla/xla that referenced this pull request May 20, 2024
--
f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1 by Sergei Lebedev <slebedev@google.com>:

Removed noop # type: ignore comments

mypy should now flag these by default.

FUTURE_COPYBARA_INTEGRATE_REVIEW=google/jax#21273 from superbobry:mypy-ruff f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1
PiperOrigin-RevId: 635270794
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request May 20, 2024
--
f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1 by Sergei Lebedev <slebedev@google.com>:

Removed noop # type: ignore comments

mypy should now flag these by default.

FUTURE_COPYBARA_INTEGRATE_REVIEW=google/jax#21273 from superbobry:mypy-ruff f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1
PiperOrigin-RevId: 635270794
copybara-service bot pushed a commit to openxla/xla that referenced this pull request May 20, 2024
--
f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1 by Sergei Lebedev <slebedev@google.com>:

Removed noop # type: ignore comments

mypy should now flag these by default.

FUTURE_COPYBARA_INTEGRATE_REVIEW=google/jax#21273 from superbobry:mypy-ruff f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1
PiperOrigin-RevId: 635270794
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request May 20, 2024
--
f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1 by Sergei Lebedev <slebedev@google.com>:

Removed noop # type: ignore comments

mypy should now flag these by default.

FUTURE_COPYBARA_INTEGRATE_REVIEW=google/jax#21273 from superbobry:mypy-ruff f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1
PiperOrigin-RevId: 635270794
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request May 21, 2024
--
f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1 by Sergei Lebedev <slebedev@google.com>:

Removed noop # type: ignore comments

mypy should now flag these by default.

FUTURE_COPYBARA_INTEGRATE_REVIEW=google/jax#21273 from superbobry:mypy-ruff f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1
PiperOrigin-RevId: 635270794
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request May 22, 2024
--
f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1 by Sergei Lebedev <slebedev@google.com>:

Removed noop # type: ignore comments

mypy should now flag these by default.

FUTURE_COPYBARA_INTEGRATE_REVIEW=google/jax#21273 from superbobry:mypy-ruff f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1
PiperOrigin-RevId: 635270794
@copybara-service copybara-service bot merged commit b558374 into google:main May 22, 2024
11 of 13 checks passed
copybara-service bot pushed a commit to tensorflow/tensorflow that referenced this pull request May 22, 2024
FUTURE_COPYBARA_INTEGRATE_REVIEW=google/jax#21273 from superbobry:mypy-ruff f5617d7323d6059022ec3e495e5d4d0fa3ccb1b1
PiperOrigin-RevId: 636147888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull ready Ready for copybara import and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants