FYI: mach virtualenv change

2020-08-17 Thread Ricky Stewart
If you never use mach, you can stop reading now. Bug 1656993 imposes a new requirement that we run mach commands in a virtualenv, rather than using the system Python as we have been doing up to this point. When this patch hits mozilla-central, you may notice that your normal workflow starts fa

FYI: `mach python-test` API change

2020-09-02 Thread Ricky Stewart
If you never use `mach python-test`, you can stop reading now. At the latest version of mozilla-central, `mach python-test` no longer takes a `--python` command-line argument. If you're used to using it, you have alternatives: * If you're used to doing `./mach python-test --python 3 ...`, you c

Adopting the black Python code style

2020-10-12 Thread Ricky Stewart
Hello everyone, If you don't write Python code in mozilla-central, you can stop reading now. On October 19, 2020 we will be officially adopting the black Python style for all our Python code in mozilla-central. black (https://black.readthedocs.io/en/stable/) is an opinionated, fast, and correc

Re: Adopting the black Python code style

2020-10-14 Thread Ricky Stewart
On Monday, October 12, 2020 at 12:22:22 PM UTC-5, Andrew McCreight wrote: > On Mon, Oct 12, 2020 at 10:05 AM Ricky Stewart wrote: > > > Hello everyone, > > > > If you don't write Python code in mozilla-central, you can stop reading > > now. > > >

Re: Adopting the black Python code style

2020-10-19 Thread Ricky Stewart
g to use double > > quotes, when we mostly settled on single quotes? > > > > On Mon, Oct 12, 2020 at 10:00:56AM -0700, Ricky Stewart wrote: > > > Hello everyone, > > > > > > If you don't write Python code in mozilla-central, you can stop reading >