[+] fix ruff execution in cli

This commit is contained in:
Siarhei Siniak 2025-04-14 17:32:25 +03:00
parent 8d43813c37
commit 7ad8e4a781
4 changed files with 7 additions and 3 deletions

@ -1 +1 @@
Subproject commit e52e1c22071d49ff23768dfefd1b33b94552ff6d Subproject commit adef10a8c41f5c550622879370a40f8a9e545574

@ -1 +1 @@
Subproject commit f2366f328fb8129fa6ae26d00b421025d2f090c7 Subproject commit 3c691ef68d8899edf328d5b06135c0d3b02e7940

@ -76,6 +76,8 @@ class CLI(abc.ABC):
argv = ['check', '.',] argv = ['check', '.',]
subprocess.check_call([ subprocess.check_call([
self.dist_settings.python_path,
'-m',
'ruff', 'ruff',
'--config', str(project.source_dir / 'pyproject.toml'), '--config', str(project.source_dir / 'pyproject.toml'),
*argv, *argv,
@ -92,6 +94,8 @@ class CLI(abc.ABC):
argv = ['--threads', '3', '.'] argv = ['--threads', '3', '.']
subprocess.check_call([ subprocess.check_call([
self.dist_settings.python_path,
'-m',
'pyright', 'pyright',
'-p', str(project.source_dir / 'pyproject.toml'), '-p', str(project.source_dir / 'pyproject.toml'),
*argv, *argv,

@ -1,6 +1,6 @@
[project] [project]
name = 'online.fxreader.pr34' name = 'online.fxreader.pr34'
version = '0.1.5.10' version = '0.1.5.11'
dependencies = [ dependencies = [
#"-r requirements.txt", #"-r requirements.txt",