gecko-dev/servo/python
Corey Farwell 9f63e446a9 servo: Merge #6996 - Prevent flake8 from crashing tidy (from frewsxcv:prevent-tidy-crash); r=jdm
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
2015-08-06 02:32:43 -06:00
..
dependencies servo: Merge #6279 - Add flake8 to the tidy process for Python files (from frewsxcv:flake8); r=jdm 2015-06-04 10:41:36 -05:00
mach servo: Merge #6526 - Update mach and fix behaviour of |mach test| (from jgraham:mach_update); r=Ms2ger 2015-06-30 23:23:31 -06:00
mozdebug servo: Merge #4083 - Mach debugger flag (from mttr:mach_debugger_flag); r=mbrubeck 2014-11-24 10:15:46 -07:00
mozinfo servo: Merge #4083 - Mach debugger flag (from mttr:mach_debugger_flag); r=mbrubeck 2014-11-24 10:15:46 -07:00
mozlog servo: Merge #6235 - Remove unused imports in the Python files (from frewsxcv:rm-python-unused-imports); r=metajack 2015-05-31 18:28:29 -05:00
servo servo: Merge #6882 - Automate Dromaeo (from notriddle:master); r=jdm 2015-08-01 08:50:14 -06:00
toml servo: Merge #6648 - Make tidy check for "*" in toml files (from boghison:tidytoml); r=jdm 2015-07-20 14:43:05 -06:00
README.md servo: Update the README files to reflect the changes to the update procedure. 2015-04-01 13:27:27 +01:00
licenseck.py servo: Merge #6279 - Add flake8 to the tidy process for Python files (from frewsxcv:flake8); r=jdm 2015-06-04 10:41:36 -05:00
mach_bootstrap.py servo: Merge #6279 - Add flake8 to the tidy process for Python files (from frewsxcv:flake8); r=jdm 2015-06-04 10:41:36 -05:00
tidy.py servo: Merge #6996 - Prevent flake8 from crashing tidy (from frewsxcv:prevent-tidy-crash); r=jdm 2015-08-06 02:32:43 -06:00

README.md

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