mc2-project / mc2-project/mc2

Remove print statements before releasing on PyPi

Open
#179 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
304
Forks
45
PR merge metrics
No merged PRs in 30d

Description

There is current a few places where there are still print statements. Can we switch to logger instead?

https://github.com/mc2-project/mc2/blob/bfbec919c0e10a48b3655a4cde5b5a5640f9ef58/python-package/tests/azure/delete_azure_resources.py#L6

Contributor guide

Open the contributing guide

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.

Research direction

Review python-package/tests/azure/delete_azure_resources.py, starting at the linked line, and look for the other print statements referenced by the issue. Replace those identified prints with logger usage, then verify that the affected scripts no longer emit direct print statements before release.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
cloud
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.