aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/python.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2022-05-09 23:13:50 -0500
committerGitHub <noreply@github.com>2022-05-09 23:13:50 -0500
commitf2c1e0bd315fbce55582c440f2d3c8c922a5083a (patch)
treec726d7e1e56fe5b97db357dd0f8c9517c90ddaeb /lib/compilers/python.js
parent141fa735217859d5ebc2985c5eabd2a780246485 (diff)
downloadcompiler-explorer-f2c1e0bd315fbce55582c440f2d3c8c922a5083a.tar.gz
compiler-explorer-f2c1e0bd315fbce55582c440f2d3c8c922a5083a.zip
The Grand Reformat (#3643)gh-2830
* The Grand Reformat - everything made prettier...literally - some tweaks to include a few more files, including documentation - minor changes to format style - some tiny `// prettier-ignore` changes to keep a few things the way we like them - a couple of super minor tweaks to embedded document types to ensure they format correctly
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() {