[+] fix pyright wrapper
This commit is contained in:
parent
908f0cbd20
commit
5190d23f09
@ -91,16 +91,20 @@ class CLI(abc.ABC):
|
|||||||
project = self.projects[project_name]
|
project = self.projects[project_name]
|
||||||
|
|
||||||
if len(argv) == 0:
|
if len(argv) == 0:
|
||||||
argv = ['--threads', '3', '.']
|
argv = ['--threads', '3']
|
||||||
|
|
||||||
subprocess.check_call([
|
cmd = [
|
||||||
self.dist_settings.python_path,
|
str(self.dist_settings.python_path),
|
||||||
'-m',
|
'-m',
|
||||||
'pyright',
|
'pyright',
|
||||||
'--pythonpath', self.dist_settings.python_path,
|
'--pythonpath', str(self.dist_settings.python_path),
|
||||||
'-p', str(project.source_dir / 'pyproject.toml'),
|
'-p', str(project.source_dir / 'pyproject.toml'),
|
||||||
*argv,
|
*argv,
|
||||||
])
|
]
|
||||||
|
|
||||||
|
logger.info(cmd)
|
||||||
|
|
||||||
|
subprocess.check_call(cmd)
|
||||||
|
|
||||||
def pip_sync(
|
def pip_sync(
|
||||||
self,
|
self,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = 'online.fxreader.pr34'
|
name = 'online.fxreader.pr34'
|
||||||
version = '0.1.5.12'
|
version = '0.1.5.14'
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
#"-r requirements.txt",
|
#"-r requirements.txt",
|
||||||
|
BIN
releases/whl/online_fxreader_pr34-0.1.5.13-py3-none-any.whl
(Stored with Git LFS)
Normal file
BIN
releases/whl/online_fxreader_pr34-0.1.5.13-py3-none-any.whl
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
releases/whl/online_fxreader_pr34-0.1.5.14-py3-none-any.whl
(Stored with Git LFS)
Normal file
BIN
releases/whl/online_fxreader_pr34-0.1.5.14-py3-none-any.whl
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user