Commit 1c719360 authored by Bharath Ramsundar's avatar Bharath Ramsundar Committed by GitHub
Browse files

Merge pull request #813 from lilleswing/yapf17

yapf 17 upgrade
parents 1448a4b5 e9f9b79c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ install:
- conda config --add channels http://conda.binstar.org/omnia
- bash scripts/install_deepchem_conda.sh deepchem
- source activate deepchem
- pip install yapf==0.16.2
- pip install yapf==0.17.0
- pip install coveralls
- python setup.py install
script:
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ DeepChem understands and agrees that Contributor retains copyright in its Contri
DeepChem uses [yapf](https://github.com/google/yapf) to autoformat code.

``` bash
pip install yapf==0.16.2
pip install yapf==0.17.0
cd <git_root>
yapf -i <python_files changed>
```
+1 −2
Original line number Diff line number Diff line
@@ -126,8 +126,7 @@ class TestLayers(test_util.TensorFlowTestCase):
    dim = 2
    batch_size = 10
    mean_tensor = np.random.rand(dim)
    std_tensor = np.random.rand(
        1,)
    std_tensor = np.random.rand(1,)
    with self.test_session() as sess:
      mean_tensor = tf.convert_to_tensor(mean_tensor, dtype=tf.float32)
      std_tensor = tf.convert_to_tensor(std_tensor, dtype=tf.float32)