mirror of
https://github.com/wassname/kair_algorithms_draft.git
synced 2026-09-12 12:31:54 +08:00
Convert code to python 2.7 (#35)
* 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
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
test:
|
||||
pytest --flake8 # --cov=algorithms
|
||||
env PYTHONPATH=./scripts pytest --flake8 # --cov=algorithms
|
||||
|
||||
format:
|
||||
black .
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user