pytask-dev / pytask-dev/pytask
ENH: Disable capturing from inside a task
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 146
- Fork
- 14
- Merge trung bình
- 3 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 34
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- cli, testing-qa
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100