Skip to content

Add stubs for tree-sitter-languages - #8548

Merged
Akuli merged 5 commits into
python:masterfrom
Akuli:tsl
Aug 17, 2022
Merged

Akuli merged 5 commits into
python:masterfrom
Akuli:tsl

Conversation

@Akuli

@Akuli Akuli commented Aug 17, 2022

Copy link
Copy Markdown
Collaborator

This project has a tiny public API, documented with a couple examples in their README: https://github.com/grantjenks/py-tree-sitter-languages

@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

Comment thread stubs/tree-sitter-languages/METADATA.toml Outdated
@github-actions

This comment has been minimized.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

porcupine (https://github.com/Akuli/porcupine)
+ porcupine/plugins/highlight/tree_sitter_highlighter.py:21: error: Unused "type: ignore" comment

@Akuli
Akuli merged commit 0b28177 into python:master Aug 17, 2022
@Akuli
Akuli deleted the tsl branch August 17, 2022 20:35
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