pytask-dev / pytask-dev/pytask
ENH: Disable capturing from inside a task
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 146
- Forks
- 14
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 34
Description
Is your feature request related to a problem?
I wish pytask had the same "capture-related" fixtures as pytest, like the ones described here.
In particular I'd like to be able to use the
with capsys.disabled():
...
behaviour, in the hope that tqdm progress bars don't break when using the -s flag.
Describe the solution you'd like
I don't know precisely how pytask differs from pytest, but perhaps it would be possible to
just re-use the above mentioned fixtures from pytest?
API breaking implications
Hopefully none, this is just adding fixtures.
Describe alternatives you've considered
None so far ^^'; I can track the progress of my task in other ways so I haven't pursued this very far.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading pytest's capture documentation linked in the issue and comparing its fixtures with pytask's task output handling. Define the smallest fixture behavior needed for disabling capture inside a task, then verify that tqdm progress bars remain usable when running with the -s flag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100