Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

make cc

thomashebrardbbd3d2738aef
diff --git a/Makefile b/Makefile
index ab8a0cd3a..27d9637ef 100644
--- a/Makefile
+++ b/Makefile
@@ -373,11 +373,11 @@ cm: cov-missing
format: env
$(call PRINT_TITLE,"Formatting with ruff")
- $(VENV_RUFF) format .
+ $(VENV_RUFF) format . --config pyproject.toml
lint: env
$(call PRINT_TITLE,"Linting with ruff")
- $(VENV_RUFF) check . --fix
+ $(VENV_RUFF) check . --fix --config pyproject.toml
pyright: env
$(call PRINT_TITLE,"Typechecking with pyright")
@@ -385,7 +385,7 @@ pyright: env
mypy: env
$(call PRINT_TITLE,"Typechecking with mypy")
- $(VENV_MYPY)
+ $(VENV_MYPY) --config-file pyproject.toml
pylint: env
$(call PRINT_TITLE,"Linting with pylint")
@@ -398,11 +398,11 @@ pylint: env
merge-check-ruff-format: env
$(call PRINT_TITLE,"Formatting with ruff")
- $(VENV_RUFF) format --check .
+ $(VENV_RUFF) format --check . --config pyproject.toml
merge-check-ruff-lint: env check-unused-imports
$(call PRINT_TITLE,"Linting with ruff without fixing files")
- $(VENV_RUFF) check .
+ $(VENV_RUFF) check . --config pyproject.toml
merge-check-pyright: env
$(call PRINT_TITLE,"Typechecking with pyright")
diff --git a/pipelex/pipe_controllers/sub_pipe.py b/pipelex/pipe_controllers/sub_pipe.py
index 6e52855dd..a839e572e 100644
--- a/pipelex/pipe_controllers/sub_pipe.py
+++ b/pipelex/pipe_controllers/sub_pipe.py
@@ -121,6 +121,7 @@ class SubPipe(BaseModel):
raise PipeInputError(msg) from exc
log.verbose(required_stuffs, title=f"Required stuffs for {self.pipe_code}")
# This is the only line that changes between run and dry_run
+
if sub_pipe_run_params.run_mode == PipeRunMode.DRY:
pipe_output = await sub_pipe.run_pipe(
job_metadata=job_metadata,