Skip to content
Snippets Groups Projects
Commit 43ab0c4c authored by Mick Jordan's avatar Mick Jordan
Browse files

pylint fixes

parent 68ad6b4b
Branches
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
# #
import tempfile, platform, subprocess, shlex import tempfile, platform, subprocess, shlex
from os.path import join, sep from os.path import join, sep
from argparse import ArgumentParser, REMAINDER from argparse import ArgumentParser
import mx import mx
import mx_gate import mx_gate
import mx_graal import mx_graal
...@@ -31,10 +31,10 @@ import os ...@@ -31,10 +31,10 @@ import os
_fastr_suite = mx.suite('fastr') _fastr_suite = mx.suite('fastr')
def RcommandClass(): def r_command_class():
return "com.oracle.truffle.r.shell.RCommand" return "com.oracle.truffle.r.shell.RCommand"
def RscriptCommandClass(): def rscript_command_class():
return "com.oracle.truffle.r.shell.RscriptCommand" return "com.oracle.truffle.r.shell.RscriptCommand"
def runR(args, className, nonZeroIsFatal=True, extraVmArgs=None, runBench=False, graal_vm='server'): def runR(args, className, nonZeroIsFatal=True, extraVmArgs=None, runBench=False, graal_vm='server'):
...@@ -90,11 +90,11 @@ def rcommon(args, command, klass): ...@@ -90,11 +90,11 @@ def rcommon(args, command, klass):
def rshell(args): def rshell(args):
'''run R shell''' '''run R shell'''
return rcommon(args, 'R', RcommandClass()) return rcommon(args, 'R', r_command_class())
def rscript(args): def rscript(args):
'''run Rscript''' '''run Rscript'''
return rcommon(args, 'Rscript', RscriptCommandClass()) return rcommon(args, 'Rscript', rscript_command_class())
def build(args): def build(args):
'''FastR build''' '''FastR build'''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment