diff options
author | Matt Godbolt <matt@godbolt.org> | 2022-05-09 23:13:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 23:13:50 -0500 |
commit | f2c1e0bd315fbce55582c440f2d3c8c922a5083a (patch) | |
tree | c726d7e1e56fe5b97db357dd0f8c9517c90ddaeb /lib/compilers/python.js | |
parent | 141fa735217859d5ebc2985c5eabd2a780246485 (diff) | |
download | compiler-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.js | 16 |
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() { |