Skip to content

Commit a0ac9ff

Browse files
Update build tools and dependencies (#16)
1 parent d04bae1 commit a0ac9ff

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

mypy.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
disallow_untyped_defs = True
33
check_untyped_defs = True
44
warn_return_any = True
5-
python_version = 3.11
6-
mypy_path = $MYPY_CONFIG_FILE_DIR/src
7-
packages = amulet
5+
python_version = 3.12
6+
mypy_path = $MYPY_CONFIG_FILE_DIR/src,$MYPY_CONFIG_FILE_DIR/tests
7+
packages = amulet,test_amulet_game

requirements.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
AMULET_UTILS_REQUIREMENT = "~=1.1.3.0a0"
1111
AMULET_ZLIB_REQUIREMENT = "~=1.0.8.0a0"
1212
AMULET_NBT_REQUIREMENT = "~=5.0.2.0a0"
13-
AMULET_CORE_REQUIREMENT = "~=2.0.5.0a0"
13+
AMULET_CORE_REQUIREMENT = "~=2.0.6.0a0"
1414

1515
if os.environ.get("AMULET_PYBIND11_EXTENSIONS_REQUIREMENT", None):
1616
AMULET_PYBIND11_EXTENSIONS_REQUIREMENT = f"{AMULET_PYBIND11_EXTENSIONS_REQUIREMENT},{os.environ['AMULET_PYBIND11_EXTENSIONS_REQUIREMENT']}"

tools/generate_pybind_stubs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def main() -> None:
244244
pyi = EqPattern.sub(eq_sub_func, pyi)
245245
pyi = pyi.replace("**kwargs)", "**kwargs: typing.Any)")
246246
pyi_split = [l.rstrip("\r") for l in pyi.split("\n")]
247-
for hidden_import in ["amulet.nbt", "typing", "types"]:
247+
for hidden_import in ["typing", "types"]:
248248
if hidden_import in pyi and f"import {hidden_import}" not in pyi_split:
249249
pyi_split.insert(
250250
pyi_split.index("from __future__ import annotations") + 1,

0 commit comments

Comments
 (0)