googleapis / googleapis/google-cloud-python
Update the noxfiles with performance enhancements to support debugging.
Đang mở
priority: p2
type: process
- Ngôn ngữ chính
- Python
- Star
- 5.4k
- Fork
- 1.8k
- Merge trung bình
- 3 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 122
Mô tả
Update the noxfiles with performance enhancements to support debugging.
* Add `session.run('python', '-m', 'pip', 'freeze')` immediately after the last `session.install()` call in each session.
* Add `*session.posargs,` as the last item in session.run() that launch `pytest`.
This allows calls such as `nox -s unit -- -vv` to produce verbose test results OR `nox -s unit -- --lf` to only execute the tests that failed in the last session.
Consider whether a similar `*session.posargs,` would be beneficial in any of the other sessions to selectively allow us to feed args to tools like `black`, `ruff`, etc)
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.