 Issue 29350244:
  Issue 4374 - Made Python code part of jshydra comply with our coding practices  (Closed)
    
  
    Issue 29350244:
  Issue 4374 - Made Python code part of jshydra comply with our coding practices  (Closed) 
  | Left: | ||
| Right: | 
| LEFT | RIGHT | 
|---|---|
| 1 [tox] | 1 [tox] | 
| 2 envlist = py27,py35 | 2 envlist = py27,py35 | 
| 3 skipsdist = true | 3 skipsdist = true | 
| 4 | 4 | 
| 5 [testenv] | 5 [testenv] | 
| 6 whitelist_externals = sh | |
| 6 deps = | 7 deps = | 
| 7 flake8 | 8 flake8 | 
| 8 pep8-naming | 9 pep8-naming | 
| 9 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp | 10 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp | 
| 11 | |
| 10 commands = | 12 commands = | 
| 13 # In order to make sure that the code downloading jsshell gets | |
| 14 # tested call "tox nocache". Consider calling "tox" (without arguments) | |
| 15 # afterwards to test the other scenario as well. | |
| 16 sh -c '[ "{posargs}" = "nocache" ] && rm -rf mozilla* || true' | |
| 17 | |
| 11 python autotest.py | 18 python autotest.py | 
| 12 flake8 | 19 flake8 | 
| LEFT | RIGHT |