googleapis / googleapis/google-cloud-python

Update the noxfiles with performance enhancements to support debugging.

オープン
#16,202 コメント 1 件 リアクション 0 件 担当者 1 名 @ohmayr が担当を希望しています GitHub で見る
priority: p2 type: process
主要言語
Python
スター
5.4k
フォーク
1.8k
平均マージ
3日 4時間
マージ済み PR(30日)
122

説明

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)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。