mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-17 01:48:06 -05:00
* autopep8 rule-groups E101,W1,W2,W3 * autopep8 with rule group E3 (blank lines) autopep8 --in-place --recursive --max-line-length=200 --exclude="externals" --select="E101,E3,W1,W2,W3" . * tabs and space W191 * autopep8 aggressive
13 lines
261 B
Python
13 lines
261 B
Python
import json, sys, glob
|
|
sys.path.append('..')
|
|
from package_json import json_options
|
|
|
|
for fluid in glob.glob('fluids/*.json'):
|
|
|
|
print fluid
|
|
j = json.load(open(fluid,'r'))
|
|
|
|
fp = open(fluid,'w')
|
|
fp.write(json.dumps(j,**json_options))
|
|
fp.close()
|