diff --git a/scripts/bytecodecompare/prepare_report.py b/scripts/bytecodecompare/prepare_report.py index baeff7884..7dbe85965 100755 --- a/scripts/bytecodecompare/prepare_report.py +++ b/scripts/bytecodecompare/prepare_report.py @@ -33,7 +33,8 @@ for optimize in [False, True]: for contractName in sorted(result['contracts'][filename].keys()): contractData = result['contracts'][filename][contractName] if 'evm' in contractData and 'bytecode' in contractData['evm']: - REPORT_FILE.write(filename + ':' + contractName + ' ' + contractData['evm']['bytecode']['object'] + '\n') + REPORT_FILE.write(filename + ':' + contractName + ' ' + + contractData['evm']['bytecode']['object'] + '\n') else: REPORT_FILE.write(filename + ':' + contractName + ' NO BYTECODE\n') REPORT_FILE.write(filename + ':' + contractName + ' ' + contractData['metadata'] + '\n') diff --git a/scripts/fix_homebrew_paths_in_standalone_zip.py b/scripts/fix_homebrew_paths_in_standalone_zip.py index 980ba1a88..173f8a071 100755 --- a/scripts/fix_homebrew_paths_in_standalone_zip.py +++ b/scripts/fix_homebrew_paths_in_standalone_zip.py @@ -49,7 +49,9 @@ def readDependencies(fname): for line in o.stdout: if line[0] == '\t': library = line.split(' ', 1)[0][1:] - if library.startswith("/usr/local/lib") or library.startswith("/usr/local/opt") or library.startswith("/Users/"): + if (library.startswith("/usr/local/lib") or + library.startswith("/usr/local/opt") or + library.startswith("/Users/")): if (os.path.basename(library) != os.path.basename(fname)): command = "install_name_tool -change " + \ library + " @executable_path/./" + \ diff --git a/scripts/pylintrc b/scripts/pylintrc index bf1f3c0c4..ca2141ef5 100644 --- a/scripts/pylintrc +++ b/scripts/pylintrc @@ -71,4 +71,4 @@ good-names= expected-line-ending-format=LF # Maximum number of characters on a single line. -max-line-length=130 +max-line-length=110