Skip to content

Commit

Permalink
Move tree-sitter and tree_sitter_languages to optional extras
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Sep 25, 2023
1 parent 8198801 commit edecc8c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ markdown-it-py = { extras = ["plugins", "linkify"], version = ">=2.1.0" }
#rich = {path="../rich", develop=true}
importlib-metadata = ">=4.11.3"
typing-extensions = "^4.4.0"
tree-sitter = "^0.20.1"
tree_sitter_languages = {version = ">=1.7.0", python = "^3.8"}
tree-sitter = {version = "^0.20.1", optional = true }
tree_sitter_languages = {version = ">=1.7.0", optional = true}

[tool.poetry.extras]
syntax = ["tree-sitter", "tree_sitter_languages"]

[tool.poetry.group.dev.dependencies]
pytest = "^7.1.3"
Expand Down

0 comments on commit edecc8c

Please sign in to comment.