From 7ad8e4a781eab646ca6d1f79d9f6b50f16a54fd5 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Mon, 14 Apr 2025 17:32:25 +0300 Subject: [PATCH] [+] fix ruff execution in cli --- deps/com.github.aiortc.aiortc | 2 +- deps/online.fxreader.nartes.books | 2 +- python/online/fxreader/pr34/commands_typed/cli.py | 4 ++++ python/pyproject.toml | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/deps/com.github.aiortc.aiortc b/deps/com.github.aiortc.aiortc index e52e1c2..adef10a 160000 --- a/deps/com.github.aiortc.aiortc +++ b/deps/com.github.aiortc.aiortc @@ -1 +1 @@ -Subproject commit e52e1c22071d49ff23768dfefd1b33b94552ff6d +Subproject commit adef10a8c41f5c550622879370a40f8a9e545574 diff --git a/deps/online.fxreader.nartes.books b/deps/online.fxreader.nartes.books index f2366f3..3c691ef 160000 --- a/deps/online.fxreader.nartes.books +++ b/deps/online.fxreader.nartes.books @@ -1 +1 @@ -Subproject commit f2366f328fb8129fa6ae26d00b421025d2f090c7 +Subproject commit 3c691ef68d8899edf328d5b06135c0d3b02e7940 diff --git a/python/online/fxreader/pr34/commands_typed/cli.py b/python/online/fxreader/pr34/commands_typed/cli.py index 32c15cd..54ee4f2 100644 --- a/python/online/fxreader/pr34/commands_typed/cli.py +++ b/python/online/fxreader/pr34/commands_typed/cli.py @@ -76,6 +76,8 @@ class CLI(abc.ABC): argv = ['check', '.',] subprocess.check_call([ + self.dist_settings.python_path, + '-m', 'ruff', '--config', str(project.source_dir / 'pyproject.toml'), *argv, @@ -92,6 +94,8 @@ class CLI(abc.ABC): argv = ['--threads', '3', '.'] subprocess.check_call([ + self.dist_settings.python_path, + '-m', 'pyright', '-p', str(project.source_dir / 'pyproject.toml'), *argv, diff --git a/python/pyproject.toml b/python/pyproject.toml index f7e4805..f2071ae 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [project] name = 'online.fxreader.pr34' -version = '0.1.5.10' +version = '0.1.5.11' dependencies = [ #"-r requirements.txt",