aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/python.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers/python.js')
-rw-r--r--lib/compilers/python.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/compilers/python.js b/lib/compilers/python.js
index 3ee8ac880..293e100ad 100644
--- a/lib/compilers/python.js
+++ b/lib/compilers/python.js
@@ -22,13 +22,15 @@
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
-import { BaseCompiler } from '../base-compiler';
-import { resolvePathFromAppRoot } from '../utils';
+import {BaseCompiler} from '../base-compiler';
+import {resolvePathFromAppRoot} from '../utils';
-import { BaseParser } from './argument-parsers';
+import {BaseParser} from './argument-parsers';
export class PythonCompiler extends BaseCompiler {
- static get key() { return 'python'; }
+ static get key() {
+ return 'python';
+ }
constructor(compilerInfo, env) {
super(compilerInfo, env);
@@ -69,11 +71,7 @@ export class PythonCompiler extends BaseCompiler {
}
optionsForFilter(filters, outputFilename) {
- return ['-I',
- this.disasmScriptPath,
- '--outputfile',
- outputFilename,
- '--inputfile'];
+ return ['-I', this.disasmScriptPath, '--outputfile', outputFilename, '--inputfile'];
}
getArgumentParser() {