KEMBAR78
Fix two option handling bugs in dmypy by msullivan · Pull Request #5172 · python/mypy · GitHub
Skip to content

Conversation

@msullivan
Copy link
Collaborator

  1. Make sure to use the right options when processing pass3 semanal in triggers
  2. Don't throw away ignore_errors when processing triggers

Fixes #5168

1. Make sure to use the right options when processing pass3 semanal in triggers
2. Don't throw away `ignore_errors` when processing triggers

Fixes #5168
nodes = sorted(nodeset, key=key)

# TODO: ignore_all argument to set_file_ignored_lines
manager.errors.set_file_ignored_lines(file_node.path, file_node.ignored_lines)
Copy link
Member

Choose a reason for hiding this comment

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

It looks like this change breaks the # type: ignore in fine grained mode.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Argh I thought I had run the tests >_>

@ilevkivskyi ilevkivskyi merged commit 922cca1 into master Jun 9, 2018
@ilevkivskyi ilevkivskyi deleted the dmypy-options branch June 9, 2018 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants