[PATCH 1/2] Convert host checking to pytest.

Amar Takhar amar at rtems.org
Sun Mar 15 23:54:44 UTC 2020


On 2020-03-15 17:26 -0600, Gedare Bloom wrote:

> Make blank lines consistent, 1 or 2, between top-level definitions. (I
> know, we still haven't settled on a style, but let's aim for
> consistency.)

Okay.


> I think all imports should go at the top?

This is scoped it only runs under certain conditions extremely common in Python.  
It's good practice as well as there's no point in loading a module that isn't 
used all of the time.  Also, it makes for far clearer code as you know the 
module is only used for that snippet.


Amar.


More information about the devel mailing list