[+] integrate ruff, pyright into deploy_wheel
This commit is contained in:
parent
81138aa12e
commit
218af2d173
@ -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.20',
|
version: '0.1.5.16+27.21',
|
||||||
# default_options: [
|
# default_options: [
|
||||||
# 'cpp_std=c++23',
|
# 'cpp_std=c++23',
|
||||||
# # 'prefer_static=true',
|
# # 'prefer_static=true',
|
||||||
|
@ -278,6 +278,8 @@ class CLI(abc.ABC):
|
|||||||
force: Optional[bool] = None,
|
force: Optional[bool] = None,
|
||||||
env: Optional[dict[str, str]] = None,
|
env: Optional[dict[str, str]] = None,
|
||||||
mypy: bool = False,
|
mypy: bool = False,
|
||||||
|
ruff: bool = False,
|
||||||
|
pyright: bool = False,
|
||||||
tests: bool = False,
|
tests: bool = False,
|
||||||
) -> None:
|
) -> None:
|
||||||
project = self.projects[project_name]
|
project = self.projects[project_name]
|
||||||
@ -305,9 +307,26 @@ class CLI(abc.ABC):
|
|||||||
force=force,
|
force=force,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if ruff:
|
||||||
|
self.ruff(
|
||||||
|
project_name=project_name,
|
||||||
|
argv=['format', '--check',],
|
||||||
|
)
|
||||||
|
|
||||||
|
self.ruff(
|
||||||
|
project_name=project_name,
|
||||||
|
argv=[],
|
||||||
|
)
|
||||||
|
|
||||||
if mypy:
|
if mypy:
|
||||||
self.mypy([])
|
self.mypy([])
|
||||||
|
|
||||||
|
if pyright:
|
||||||
|
self.pyright(
|
||||||
|
project_name=project_name,
|
||||||
|
argv=[],
|
||||||
|
)
|
||||||
|
|
||||||
if env is None:
|
if env is None:
|
||||||
env = dict()
|
env = dict()
|
||||||
|
|
||||||
|
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+27.21-py3-none-any.whl
(Stored with Git LFS)
Normal file
BIN
releases/whl/online_fxreader_pr34-0.1.5.16+27.21-py3-none-any.whl
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user