dfpyre 0.6.1__tar.gz → 0.6.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dfpyre might be problematic. Click here for more details.
- {dfpyre-0.6.1 → dfpyre-0.6.2}/PKG-INFO +3 -3
- {dfpyre-0.6.1 → dfpyre-0.6.2}/dfpyre/items.py +1 -1
- {dfpyre-0.6.1 → dfpyre-0.6.2}/dfpyre/pyre.py +1 -1
- {dfpyre-0.6.1 → dfpyre-0.6.2}/pyproject.toml +3 -3
- {dfpyre-0.6.1 → dfpyre-0.6.2}/LICENSE +0 -0
- {dfpyre-0.6.1 → dfpyre-0.6.2}/README.md +0 -0
- {dfpyre-0.6.1 → dfpyre-0.6.2}/dfpyre/__init__.py +0 -0
- {dfpyre-0.6.1 → dfpyre-0.6.2}/dfpyre/data/data.json +0 -0
- {dfpyre-0.6.1 → dfpyre-0.6.2}/dfpyre/scriptgen.py +0 -0
- {dfpyre-0.6.1 → dfpyre-0.6.2}/dfpyre/style.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dfpyre
|
|
3
|
-
Version: 0.6.
|
|
4
|
-
Summary: A package for
|
|
3
|
+
Version: 0.6.2
|
|
4
|
+
Summary: A package for creating and modifying code templates for the DiamondFire Minecraft server.
|
|
5
5
|
Home-page: https://github.com/Amp63/pyre
|
|
6
6
|
License: MIT
|
|
7
7
|
Keywords: diamondfire,minecraft,template,item
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
-
Requires-Dist: mcitemlib (>=0.2.
|
|
15
|
+
Requires-Dist: mcitemlib (>=0.2.5,<0.3.0)
|
|
16
16
|
Project-URL: Repository, https://github.com/Amp63/pyre
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
@@ -316,7 +316,7 @@ def item_from_dict(item_dict: Dict) -> object:
|
|
|
316
316
|
else:
|
|
317
317
|
param = parameter(item_data['name'], param_type, item_data['plural'], False, description, note)
|
|
318
318
|
return param
|
|
319
|
-
elif item_id
|
|
319
|
+
elif item_id in {'bl_tag', 'hint'}:
|
|
320
320
|
return
|
|
321
321
|
else:
|
|
322
322
|
raise PyreException(f'Unrecognized item id `{item_id}`')
|
|
@@ -335,7 +335,7 @@ class DFTemplate:
|
|
|
335
335
|
|
|
336
336
|
def _openbracket(self, index: int|None, btype: Literal['norm', 'repeat']='norm'):
|
|
337
337
|
bracket = CodeBlock('bracket', data={'id': 'bracket', 'direct': 'open', 'type': btype})
|
|
338
|
-
self._add_codeblock(bracket, index
|
|
338
|
+
self._add_codeblock(bracket, index)
|
|
339
339
|
self.bracket_stack.append(btype)
|
|
340
340
|
|
|
341
341
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "dfpyre"
|
|
3
|
-
version = "0.6.
|
|
4
|
-
description = "A package for
|
|
3
|
+
version = "0.6.2"
|
|
4
|
+
description = "A package for creating and modifying code templates for the DiamondFire Minecraft server."
|
|
5
5
|
authors = ["Amp"]
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
license = "MIT"
|
|
@@ -12,7 +12,7 @@ exclude = ['examples']
|
|
|
12
12
|
|
|
13
13
|
[tool.poetry.dependencies]
|
|
14
14
|
python = "^3.10"
|
|
15
|
-
mcitemlib = "^0.2.
|
|
15
|
+
mcitemlib = "^0.2.5"
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
[build-system]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|