-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (49 loc) · 1.51 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
[tool.poetry]
name = "tokenstream"
version = "1.7.0"
description = "A versatile token stream for handwritten parsers"
authors = ["Valentin Berlier <berlier.v@gmail.com>"]
license = "MIT"
homepage = "https://github.com/vberlier/tokenstream"
repository = "https://github.com/vberlier/tokenstream"
documentation = "https://github.com/vberlier/tokenstream"
readme = "README.md"
keywords = [
"parsing",
"tokenizer",
"lexer",
"recursive-descent-parser",
"token-stream",
]
include = ["tokenstream/py.typed"]
[tool.poetry.dependencies]
python = "^3.10"
[tool.poetry.group.dev.dependencies]
black = "^22.12.0"
pytest = "^7.2.0"
isort = "^5.11.4"
python-semantic-release = "^7.32.2"
mudkip = "^0.8.0"
[tool.pytest.ini_options]
addopts = "tests tokenstream --doctest-modules --import-mode=importlib"
doctest_optionflags = "NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS"
[tool.pyright]
typeCheckingMode = "strict"
reportShadowedImports = false
[tool.black]
target-version = ["py310"]
[tool.isort]
profile = "black"
[tool.semantic_release]
branch = "main"
version_variable = ["tokenstream/__init__.py:__version__"]
version_toml = "pyproject.toml:tool.poetry.version"
build_command = "poetry build && poetry run mudkip build --update-gh-pages --repository https://x-access-token:${GH_TOKEN}@github.com/vberlier/tokenstream"
[tool.mudkip]
preset = "furo"
[tool.mudkip.override]
html_title = "tokenstream"
suppress_warnings = ["myst.header"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"