summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/compaq.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:51:25 -0600
commitfbd6510d58a47ea0d166c48a82793f05425406e4 (patch)
tree330ce703eb02d20f96099c3fe0fc36ae33d4905b /numpy/distutils/fcompiler/compaq.py
parent8ddb0ce0acafe75d78df528b4d2540dfbf4b364d (diff)
downloadnumpy-fbd6510d58a47ea0d166c48a82793f05425406e4.tar.gz
STY: Giant comma spacing fixup.
Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum.
Diffstat (limited to 'numpy/distutils/fcompiler/compaq.py')
-rw-r--r--numpy/distutils/fcompiler/compaq.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/numpy/distutils/fcompiler/compaq.py b/numpy/distutils/fcompiler/compaq.py
index 3831f88f7..5162b168c 100644
--- a/numpy/distutils/fcompiler/compaq.py
+++ b/numpy/distutils/fcompiler/compaq.py
@@ -29,7 +29,7 @@ class CompaqFCompiler(FCompiler):
executables = {
'version_cmd' : ['<F90>', "-version"],
- 'compiler_f77' : [fc_exe, "-f77rtl","-fixed"],
+ 'compiler_f77' : [fc_exe, "-f77rtl", "-fixed"],
'compiler_fix' : [fc_exe, "-fixed"],
'compiler_f90' : [fc_exe],
'linker_so' : ['<F90>'],
@@ -41,18 +41,18 @@ class CompaqFCompiler(FCompiler):
module_include_switch = '-I'
def get_flags(self):
- return ['-assume no2underscore','-nomixed_str_len_arg']
+ return ['-assume no2underscore', '-nomixed_str_len_arg']
def get_flags_debug(self):
- return ['-g','-check bounds']
+ return ['-g', '-check bounds']
def get_flags_opt(self):
- return ['-O4','-align dcommons','-assume bigarrays',
- '-assume nozsize','-math_library fast']
+ return ['-O4', '-align dcommons', '-assume bigarrays',
+ '-assume nozsize', '-math_library fast']
def get_flags_arch(self):
return ['-arch host', '-tune host']
def get_flags_linker_so(self):
if sys.platform[:5]=='linux':
return ['-shared']
- return ['-shared','-Wl,-expect_unresolved,*']
+ return ['-shared', '-Wl,-expect_unresolved,*']
class CompaqVisualFCompiler(FCompiler):
@@ -101,7 +101,7 @@ class CompaqVisualFCompiler(FCompiler):
executables = {
'version_cmd' : ['<F90>', "/what"],
- 'compiler_f77' : [fc_exe, "/f77rtl","/fixed"],
+ 'compiler_f77' : [fc_exe, "/f77rtl", "/fixed"],
'compiler_fix' : [fc_exe, "/fixed"],
'compiler_f90' : [fc_exe],
'linker_so' : ['<F90>'],
@@ -110,10 +110,10 @@ class CompaqVisualFCompiler(FCompiler):
}
def get_flags(self):
- return ['/nologo','/MD','/WX','/iface=(cref,nomixed_str_len_arg)',
- '/names:lowercase','/assume:underscore']
+ return ['/nologo', '/MD', '/WX', '/iface=(cref,nomixed_str_len_arg)',
+ '/names:lowercase', '/assume:underscore']
def get_flags_opt(self):
- return ['/Ox','/fast','/optimize:5','/unroll:0','/math_library:fast']
+ return ['/Ox', '/fast', '/optimize:5', '/unroll:0', '/math_library:fast']
def get_flags_arch(self):
return ['/threads']
def get_flags_debug(self):