Don't print in library

Open
#186 0 comments 1 reaction 0 assignees View on GitHub

@ashishsoni-ai is already working on this.

Since Nov 7, 2026.

  • #261 by @ashishsoni-ai — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start by locating the library code that prints to stdout and trace how the CLI calls it. Identify which results or status information callers need returned, then check existing tests for library and CLI behavior. Done means library code no longer prints to stdout and the CLI still provides its intended output.

Written by the indexing model from the issue text.

Description

good first issue refactor

the library part should just do its job (or fail in case of problems), but don't print to stdout as it can not know if such a thing even exists. Instead additional return arguments should be provided. The CLI is not a library.

Dominant language
Python
Stars
2
Forks
0
Avg merge
10d 34m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NNPDF/pineko

All issues in NNPDF/pineko

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.