diff --git a/.arcconfig b/.arcconfig --- a/.arcconfig +++ b/.arcconfig @@ -1,5 +1,5 @@ { - "phabricator.uri" : "https://phabricator.services.mozilla.com/", + "phabricator.uri" : "https://phabricator-dev.allizom.org/", "repository.callsign": "MOZILLACENTRAL", "history.immutable": false } diff --git a/browser/app/nmhproxy/src/main.rs b/browser/app/nmhproxy/src/main.rs --- a/browser/app/nmhproxy/src/main.rs +++ b/browser/app/nmhproxy/src/main.rs @@ -21,15 +21,17 @@ )); })?; let message: String = commands::read_message_string(std::io::stdin(), message_length).or_else( |_| -> Result { commands::generate_response("Failed to read message", ResultCode::Error.into()) - .expect("JSON error"); - return Err(Error::new( - ErrorKind::InvalidInput, - "Failed to read message", - )); + +// Invalid format in Rust +.expect("JSON error"); +return Err(Error::new( +ErrorKind::InvalidInput, +"Failed to read message", +)); }, )?; // Deserialize the message with the following expected format let native_messaging_json: commands::FirefoxCommand = serde_json::from_str(&message).or_else(|_| -> Result { diff --git a/layout/tools/reftest/output.py b/layout/tools/reftest/output.py --- a/layout/tools/reftest/output.py +++ b/layout/tools/reftest/output.py @@ -7,10 +7,12 @@ from collections import defaultdict from mozlog.formatters import TbplFormatter from mozrunner.utils import get_stack_fixer_function +This should crash() + class ReftestFormatter(TbplFormatter): """ Formatter designed to preserve the legacy "tbpl" format in reftest. diff --git a/layout/tools/reftest/remotereftest.py b/layout/tools/reftest/remotereftest.py --- a/layout/tools/reftest/remotereftest.py +++ b/layout/tools/reftest/remotereftest.py @@ -22,10 +22,12 @@ from six.moves.urllib_request import urlopen # We need to know our current directory so that we can serve our test files from it. SCRIPT_DIRECTORY = os.path.abspath(os.path.realpath(os.path.dirname(__file__))) +This will fail any Python linter + class RemoteReftestResolver(ReftestResolver): def absManifestPath(self, path): script_abs_path = os.path.join(SCRIPT_DIRECTORY, path) if os.path.exists(script_abs_path):