contrib/vagrant/README.md
author Pierre-Yves David <pierre-yves.david@fb.com>
Thu, 24 Sep 2015 00:34:15 -0700
changeset 26348 b80b2ee71a08
parent 21874 8da01b6e7b49
permissions -rw-r--r--
check-code: forbid mutable value for default argument default value are common to all call. Using mutable value is a classical source of bug in Python. We forbid it. The regexp (Courtesy of Matt Mackall) is only catching such value on the first line of a definition, but that will be good enough for now.

Run Mercurial tests with Vagrant:

$ vagrant up
$ vagrant ssh -c ./run-tests.sh