簡単に説明すると テストランナーは py.test を使うpython2.7, python3.3, python3.4, python3.5 でテストを実施する。python3.2(というかpip3.2?)がtoxでうまく動作しなかったので3.3からにしました。しょうがないね。tests/ フォルダを除いてflake8を実施する。flake8 での構文を確認するためにライブラリをインストールするって感じですね。 複数のコマンドを実行したい場合は deps と同じように commands を複数行にすればOKです。 tox.ini で特に重要なのは tox と testenv セクションです。 「tox」セクションの「envlist」に記述したコマンドが実際に何をするかやオプションを testenv:~ に記述します。 infoデフォルトenvは testenv セクションに属します。簡単
Suman Karumuri | Pinterest technical lead, Visibility & Ruth Grace Wong | Pinterest engineer, Core Site Reliability More than 200 million people discover and do what they love on Pinterest every month. We rely on several hundred Python services and tools to power these experiences. The code for these services lives in 100+ Git repositories (except for our Python frontend monolith). Overtime, we fo
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く