-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
105 lines (86 loc) · 2.25 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[tool.poetry]
name = "beet"
version = "0.108.5"
description = "The Minecraft pack development kit"
authors = ["Valentin Berlier <[email protected]>"]
license = "MIT"
homepage = "https://github.com/mcbeet/beet"
repository = "https://github.com/mcbeet/beet"
documentation = "https://github.com/mcbeet/beet"
readme = "README.md"
keywords = [
"beet",
"minecraft",
"datapack",
"resourcepack",
"mcfunction",
]
include = ["beet/py.typed"]
[tool.poetry.dependencies]
python = "^3.10"
nbtlib = "^1.12.1"
pathspec = "^0.11.2"
pydantic = "^2.5.2"
click = "^8.1.7"
click-help-colors = "^0.9.2"
Jinja2 = "^3.1.2"
toml = "^0.10.2"
PyYAML = "^6.0.1"
Pillow = {version = "*", optional = true}
colorama = {version = "*", markers = 'sys_platform == "win32"'}
typing-extensions = "^4.8.0"
[tool.poetry.extras]
image = ["Pillow"]
[tool.poetry.group.dev.dependencies]
black = "^24.2.0"
pytest = "^7.4.3"
pytest-minecraft = "^0.2.0"
isort = "^5.12.0"
pytest-insta = "^0.2.0"
python-semantic-release = "^7.33.3"
mudkip = "^0.8.0"
[tool.poetry.scripts]
beet = "beet.toolchain.cli:main"
[tool.poetry.plugins.beet]
commands = "beet.toolchain.commands"
autoload = "beet.contrib.default"
[tool.poetry.plugins.pytest11]
beet = "beet.pytest_plugin"
[tool.pytest.ini_options]
addopts = "tests beet --ignore beet/__main__.py --doctest-modules"
doctest_optionflags = "NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS"
[tool.pyright]
typeCheckingMode = "basic"
ignore = ["docs", "setup.py"]
strict = [
"beet/contrib",
"beet/core",
"beet/library",
"beet/toolchain",
"examples",
"tests",
]
[tool.black]
target-version = ["py310"]
[tool.isort]
profile = "black"
[tool.semantic_release]
branch = "main"
version_variable = ["beet/__init__.py:__version__"]
version_toml = "pyproject.toml:tool.poetry.version"
major_on_zero = false
build_command = "poetry build"
[tool.mudkip]
base_url = "https://mcbeet.dev"
preset = "furo"
[tool.mudkip.override]
html_title = "Beet documentation"
html_logo = "assets/beet_logo.png"
html_favicon = "assets/favicon.png"
suppress_warnings = ["myst.header"]
linkcheck_ignore = ['https://github\.com/mcbeet/beet/commit/.+']
[tool.mudkip.override.html_theme_options]
sidebar_hide_name = true
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"