pymc4のソースコード読んでみた - Add model tests, fix travis pytest problem [4357d39]
コミット
2018/06/03のコミットです。
以下ファイルが変更されています。
- .gitignore
.pytest_cache/
を追記
- .pylintrc
- naming convention のlintチェックをdisable: C0103 - PyLint Messages
- .travis.yml
- pytest実行時にcurrent directoryも
sys.path
に含める Usage and Invocations — pytest documentation
- pytest実行時にcurrent directoryも
- pymc4/init.py
*(ワイルドカード)
のimportをしてもpytlintエラーにならないようにしている(簡便さのため)
- pymc4/model.py
modelcontext
を__all__
に含めている
- pymc4/random_variable.py
- 後述
- pymc4/sample.py
- test/test_model.py
- 後述
- test/test_nothing.py
RandomVariable - random_variable.py
重要そうなので次回じっくり読みます。
test_model.py
重要そうなので次々回じっくり読みます。