pytask-dev / pytask-dev/pytask
ENH: Disable capturing from inside a task
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 146
- Forks
- 14
- Ø Merge
- 3 T. 16 Std.
- Gemergte PRs (30 T.)
- 34
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- cli, testing-qa
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100