Skip to content

markdown: improve preprocessors type - #4588

Merged
hauntsaninja merged 2 commits into
masterfrom
markdown
Sep 30, 2020
Merged

hauntsaninja merged 2 commits into
masterfrom
markdown

Conversation

@hauntsaninja

Copy link
Copy Markdown
Collaborator

Comment thread third_party/2and3/markdown/preprocessors.pyi Outdated
def run(self, lines): ...
def run(self, lines: List[str]) -> List[str]: ...

class ReferencePreprocessor(Preprocessor):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This class doesn't exist in the file you linked to?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Good spot, looks like it got removed eight days ago, changes haven't been released

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good timing. Out of scope for this PR then.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

For what it's worth it looks like this one actually did need a List

Comment thread third_party/2and3/markdown/preprocessors.pyi Outdated
Comment thread third_party/2and3/markdown/preprocessors.pyi Outdated
Comment thread third_party/2and3/markdown/preprocessors.pyi Outdated
@hauntsaninja
hauntsaninja merged commit 8879858 into master Sep 30, 2020
@hauntsaninja
hauntsaninja deleted the markdown branch September 30, 2020 21:34
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