pytask-dev / pytask-dev/pytask
ENH: Disable capturing from inside a task
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 146
- Fork
- 14
- Merge medio
- 3g 16h
- PR unite (30g)
- 34
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- cli, testing-qa
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100