[+] improve module:switch
This commit is contained in:
parent
a54fc8aada
commit
8c07cea8b7
@ -5,7 +5,7 @@ project(
|
|||||||
).stdout().strip('\n'),
|
).stdout().strip('\n'),
|
||||||
# 'online.fxreader.uv',
|
# 'online.fxreader.uv',
|
||||||
# ['c', 'cpp'],
|
# ['c', 'cpp'],
|
||||||
version: '0.1.5.16+27.16',
|
version: '0.1.5.16+27.17',
|
||||||
# default_options: [
|
# default_options: [
|
||||||
# 'cpp_std=c++23',
|
# 'cpp_std=c++23',
|
||||||
# # 'prefer_static=true',
|
# # 'prefer_static=true',
|
||||||
|
@ -17,6 +17,7 @@ from typing import (
|
|||||||
Optional,
|
Optional,
|
||||||
Literal,
|
Literal,
|
||||||
Any,
|
Any,
|
||||||
|
MutableMapping,
|
||||||
)
|
)
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
@ -701,7 +702,7 @@ class CLI(abc.ABC):
|
|||||||
|
|
||||||
pyproject_tool = pyproject2['tool']
|
pyproject_tool = pyproject2['tool']
|
||||||
# assert isinstance(pyproject_tool, tomlkit.items.Array)
|
# 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():
|
for k, v in module.tool.items():
|
||||||
assert not k in pyproject_tool
|
assert not k in pyproject_tool
|
||||||
|
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+27.17-py3-none-any.whl
(Stored with Git LFS)
Normal file
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+27.17-py3-none-any.whl
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user