9f63e446a9
If someone were to write: def hello() : print "hello world" flake8 would warn: stdin:54:45: E203 whitespace before ':' Normally there are only three colons in a flake8 error message, but this one has four, which causes issue with this line: _, line_num, _, message = error.split(":") ...causing this error: ValueError: too many values to unpack This commit updates the `str.split` call to utilize the `maxsplit` parameter to prevent this error from occurring. Source-Repo: https://github.com/servo/servo Source-Revision: 729e003c5d954694e3fa6fd2b72702515ef94c6c |
||
---|---|---|
.. | ||
dependencies | ||
mach | ||
mozdebug | ||
mozinfo | ||
mozlog | ||
servo | ||
toml | ||
licenseck.py | ||
mach_bootstrap.py | ||
README.md | ||
tidy.py |
This directory contains various Python modules used to support servo development.
= mach =
The command dispatch framework used to wrap the build system and test harnesses.
= mozdebug =
mozbase module containing information about various debuggers.
This can be updated by copying the latest version from https://hg.mozilla.org/mozilla-central/file/tip/testing/mozbase/mozdebug
= mozinfo =
Mozbase module for extracting information about the host hardware / os.
This can be updated by copying the latest version from hg.mozilla.org/mozilla-central/file/tip/testing/mozbase/mozinfo
= mozlog =
A mozbase logging module required for wptrunner output and command line arguments.
This can be updated by copying the latest version from hg.mozilla.org/mozilla-central/file/tip/testing/mozbase/mozlog
= servo =
servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.
== toml ==
Python module for reading toml files.
This can be updated from https://github.com/uiri/toml