-
Notifications
You must be signed in to change notification settings - Fork 107
/
pyproject.toml
72 lines (63 loc) · 1.69 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[build-system]
requires = ["setuptools>=43"]
build-backend = "setuptools.build_meta"
[project]
name = "tree-sitter"
version = "0.23.2"
description = "Python bindings to the Tree-sitter parsing library"
keywords = ["incremental", "parsing", "tree-sitter"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: C",
"Programming Language :: Python",
"Topic :: Software Development :: Compilers",
"Topic :: Text Processing :: Linguistic",
"Typing :: Typed",
]
requires-python = ">=3.10"
readme = "README.md"
[project.urls]
Homepage = "https://tree-sitter.github.io/tree-sitter/"
Source = "https://github.com/tree-sitter/py-tree-sitter"
Documentation = "https://tree-sitter.github.io/py-tree-sitter/"
Discord = "https://discord.gg/w7nTvsVJhm"
[[project.authors]]
name = "Max Brunsfeld"
email = "[email protected]"
[project.optional-dependencies]
docs = ["sphinx~=7.4", "sphinx-book-theme"]
tests = [
"tree-sitter-html>=0.23.2",
"tree-sitter-javascript>=0.23.1",
"tree-sitter-json>=0.24.8",
"tree-sitter-python>=0.23.0",
"tree-sitter-rust>=0.23.2",
]
[tool.ruff]
target-version = "py310"
line-length = 100
indent-width = 4
extend-exclude = [
".github",
"__pycache__",
"setup.py",
"tree_sitter/core",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.cibuildwheel]
build-frontend = "build"
test-extras = ["tests"]
test-command = "python -munittest discover -s {project}/tests"
[tool.mypy]
exclude = ["tree_sitter/core"]
[tool.rstcheck]
ignore_directives = [
"autoclass",
"autodata",
"automethod",
"autosummary"
]