Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove remaining print()s from the library #86

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

booxter
Copy link
Contributor

@booxter booxter commented Jul 31, 2024

Use logger for any messages produced instead.

Copy link
Contributor

@bcrochet bcrochet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Member

@danmcp danmcp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Until #80 is fixed, we probably need to make this be:

if i == max retires-1:
  logger.error
  break
logger.debug

Otherwise we won't give any indication of an invalid setup until the very end.

Note: This suggestion is taking the rebase into account since the break wouldn't make sense as is.

Copy link
Member

@nathan-weinberg nathan-weinberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will rerun mypy check once #93 merges

Use logger for any messages produced instead.

Signed-off-by: Ihar Hrachyshka <ihrachys@redhat.com>
@danmcp
Copy link
Member

danmcp commented Aug 5, 2024

@booxter Note I rebased your commit to pull in #93

@nathan-weinberg nathan-weinberg merged commit 3f2623c into instructlab:main Aug 5, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants