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

Enforce strict_equality in mypy #21169

Merged
merged 1 commit into from Jan 15, 2020

Conversation

gsnedders
Copy link
Member

(this found more bugs on manifest-path-trie)

(this found bugs on manifest-path-trie)
@@ -269,7 +269,7 @@ def filter(self,
target.append(item)

dirnames[:] = keep_dirs
assert ".git" not in dirnames
assert not any(".git" == name for name, _ in dirnames)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assert has been guaranteed to never fail since 4011c5f due to asserting str in List[Tuple[str, T]], which always returns False.

@gsnedders
Copy link
Member Author

CI failure is #21158

@gsnedders gsnedders merged commit 9c57c8f into web-platform-tests:master Jan 15, 2020
@gsnedders gsnedders deleted the strict_equality branch January 15, 2020 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants