Граф коммитов

12 Коммитов

Автор SHA1 Сообщение Дата
Ervin T 084d1c8b1f
Add torch_utils class, auto-detect CUDA availability (#4403)
* Add torch_utils

* Use torch from torch_utils

* Add torch to banned modules in CI

* Better import error handling

* Fix flake8 errors

* Address comments

* Move networks to GPU if enabled

* Switch to torch_utils

* More flake8 problems

* Move reward providers to GPU/CPU

* Remove anothere set default tensor

* Fix banned import in test
2020-08-27 17:36:16 -07:00
Chris Elion ebeb034b6d
Fix how we set logging levels (#3703)
* cleanup logging

* comments and cleanup

* pylint, gym
2020-03-30 11:32:55 -07:00
Chris Elion 48b74fef54
add flake8-bugbear (#3137)
* unused loop variables

* change loop variable
2020-01-02 10:52:03 -08:00
Chris Elion 182a40e6f7
Allow usage with tensorflow 2.0.0 (via tf.compat.v1) (#2665) 2019-11-13 18:23:57 -08:00
Jonathan Harper e594ba8811
Fix flake8 import warnings (#2584)
We have been ignoring unused imports and star imports via flake8. These are
both bad practice and grow over time without automated checking.  This
commit attempts to fix all existing import errors and add back the corresponding
flake8 checks.
2019-09-18 14:11:42 -07:00
Chris Elion 4b1f1a3c1b
python coverage: specify dirs, exclude test files (#2473)
* specify dirs, exclude test files

* update comments

* html coverage in CI artifacts

* add destination

* ignore coverage files

* check gym-unity too
2019-09-03 11:33:41 -07:00
Chris Elion ed720108fe Merge remote-tracking branch 'origin/develop' into enable-flake8 2019-07-18 10:52:19 -07:00
Chris Elion 24818aa116 comments 2019-07-15 15:22:07 -07:00
Chris Elion 850663d598 enforce a min % of code coverage 2019-07-15 15:18:06 -07:00
Chris Elion 98e9d24552 cleanup setup.cfg 2019-07-08 16:22:43 -07:00
Chris Elion 654bb7b10e enforce line length 2019-07-08 16:16:22 -07:00
Chris Elion 3420421fa3 add setup.cfg 2019-07-08 15:55:54 -07:00