mirror of
https://github.com/wassname/kair_algorithms_draft.git
synced 2026-10-07 11:23:41 +08:00
* Convert code format to python2.7 (SAC) * Convert code format python2.7 (TD3, all fD) * Remove no use import and black setting * Change SAC param * Change env name Reacher-v2 to v1 * Remove old version reacher training script * Convert code format python2.7 * Modify .travis.yml * Add install command python3.6 & black on Makefile * Fix seperator to tab on Makefile * Modify Makefile * Fix little error * Change td3 gamma parameter
19 lines
407 B
Makefile
19 lines
407 B
Makefile
test:
|
|
env PYTHONPATH=./scripts pytest --flake8 # --cov=algorithms
|
|
|
|
format:
|
|
isort -y
|
|
python3.6 -m black -t py27 .
|
|
|
|
dev:
|
|
pip install -r scripts/requirements-dev.txt
|
|
sudo add-apt-repository -y ppa:deadsnakes/ppa
|
|
sudo apt-get update
|
|
sudo apt-get install -y python3.6
|
|
sudo apt-get install -y python3-pip
|
|
python3.6 -m pip install black
|
|
pre-commit install
|
|
|
|
dep:
|
|
pip install -r scripts/requirements.txt
|