File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22disallow_untyped_defs = True
33check_untyped_defs = True
44warn_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
Original file line number Diff line number Diff line change 1010AMULET_UTILS_REQUIREMENT = "~=1.1.3.0a0"
1111AMULET_ZLIB_REQUIREMENT = "~=1.0.8.0a0"
1212AMULET_NBT_REQUIREMENT = "~=5.0.2.0a0"
13- AMULET_CORE_REQUIREMENT = "~=2.0.5 .0a0"
13+ AMULET_CORE_REQUIREMENT = "~=2.0.6 .0a0"
1414
1515if os .environ .get ("AMULET_PYBIND11_EXTENSIONS_REQUIREMENT" , None ):
1616 AMULET_PYBIND11_EXTENSIONS_REQUIREMENT = f"{ AMULET_PYBIND11_EXTENSIONS_REQUIREMENT } ,{ os .environ ['AMULET_PYBIND11_EXTENSIONS_REQUIREMENT' ]} "
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments