[+] improve module:switch

This commit is contained in:
Siarhei Siniak 2025-05-16 14:18:12 +03:00
parent a54fc8aada
commit 8c07cea8b7
3 changed files with 6 additions and 2 deletions

@ -5,7 +5,7 @@ project(
).stdout().strip('\n'),
# 'online.fxreader.uv',
# ['c', 'cpp'],
version: '0.1.5.16+27.16',
version: '0.1.5.16+27.17',
# default_options: [
# 'cpp_std=c++23',
# # 'prefer_static=true',

@ -17,6 +17,7 @@ from typing import (
Optional,
Literal,
Any,
MutableMapping,
)
logger = logging.getLogger(__name__)
@ -701,7 +702,7 @@ class CLI(abc.ABC):
pyproject_tool = pyproject2['tool']
# assert isinstance(pyproject_tool, tomlkit.items.Array)
assert isinstance(pyproject_tool, tomlkit.items.Table)
assert isinstance(pyproject_tool, MutableMapping)
for k, v in module.tool.items():
assert not k in pyproject_tool

Binary file not shown.