<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/buildstream.git, branch danielsilverstone-ct/fix-lint-issues</title>
<subtitle>gitlab.com: buildstream/buildstream.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/'/>
<entry>
<title>MANIFEST: Include a lot more missing stuff in the manifest</title>
<updated>2018-10-25T12:58:10+00:00</updated>
<author>
<name>Daniel Silverstone</name>
<email>daniel.silverstone@codethink.co.uk</email>
</author>
<published>2018-10-25T09:55:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=4247cef3985b4fa0a15ed02b7beae1dc1a9cd8f1'/>
<id>4247cef3985b4fa0a15ed02b7beae1dc1a9cd8f1</id>
<content type='text'>
Versioneer needs to be in the MANIFEST.in and its .pyc needs to be ignored
in the .gitignore.  Also much docs were not being included, nor conftest.py.
Much of the test suite data files needed including, so changed that to a
raw include of everything in the tests/ tree.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Versioneer needs to be in the MANIFEST.in and its .pyc needs to be ignored
in the .gitignore.  Also much docs were not being included, nor conftest.py.
Much of the test suite data files needed including, so changed that to a
raw include of everything in the tests/ tree.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump CI image tags</title>
<updated>2018-10-25T12:58:10+00:00</updated>
<author>
<name>Tristan Maat</name>
<email>tm@tlater.net</email>
</author>
<published>2018-10-24T16:13:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=1d8fe381be3eb06c7412642694a7b1d7e9b50ed4'/>
<id>1d8fe381be3eb06c7412642694a7b1d7e9b50ed4</id>
<content type='text'>
We need to do this so that the new linting errors pop up
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to do this so that the new linting errors pop up
</pre>
</div>
</content>
</entry>
<entry>
<title>_artifactcache/cascache.py: Cleanup lint warning about indexing</title>
<updated>2018-10-25T12:58:10+00:00</updated>
<author>
<name>Daniel Silverstone</name>
<email>daniel.silverstone@codethink.co.uk</email>
</author>
<published>2018-10-24T10:28:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=598c04b0b7915327b08d7d86e4cb1bab3bc1dc77'/>
<id>598c04b0b7915327b08d7d86e4cb1bab3bc1dc77</id>
<content type='text'>
In order to quieten the linter, and to make a more correct comparison,
we switch to using the `Code.OK` enumeration from `google.rpc.Code`

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to quieten the linter, and to make a more correct comparison,
we switch to using the `Code.OK` enumeration from `google.rpc.Code`

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>_artifactcache/cascache.py: Remove unused imports</title>
<updated>2018-10-25T12:58:09+00:00</updated>
<author>
<name>Daniel Silverstone</name>
<email>daniel.silverstone@codethink.co.uk</email>
</author>
<published>2018-10-24T10:18:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=a9489c8e97bad8916a8cf91ba97045b071ab6323'/>
<id>a9489c8e97bad8916a8cf91ba97045b071ab6323</id>
<content type='text'>
The imports of `Message` and `MessageType` were unused.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The imports of `Message` and `MessageType` were unused.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>_artifactcache/cascache.py: Prepare attributes in __init__</title>
<updated>2018-10-25T12:58:09+00:00</updated>
<author>
<name>Daniel Silverstone</name>
<email>daniel.silverstone@codethink.co.uk</email>
</author>
<published>2018-10-24T10:17:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=50fd1480a06a0fa2dc7dfc2726cd9644fad6acb4'/>
<id>50fd1480a06a0fa2dc7dfc2726cd9644fad6acb4</id>
<content type='text'>
Python linters prefer that attributes are defined in __init__ rather
than left to later routines.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python linters prefer that attributes are defined in __init__ rather
than left to later routines.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>_artifactcache/cascache.py: Silence len(SEQUENCE) as condition warnings</title>
<updated>2018-10-25T12:58:09+00:00</updated>
<author>
<name>Daniel Silverstone</name>
<email>daniel.silverstone@codethink.co.uk</email>
</author>
<published>2018-10-24T10:12:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=21e3f0369d037504e4d8b9a0262d908bdc8fd0e0'/>
<id>21e3f0369d037504e4d8b9a0262d908bdc8fd0e0</id>
<content type='text'>
The lint tool dislikes the use of `if len(SEQ) == 0` type statements
because nominally `len(SEQ)` may be more expensive than `bool(SEQ)`.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The lint tool dislikes the use of `if len(SEQ) == 0` type statements
because nominally `len(SEQ)` may be more expensive than `bool(SEQ)`.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>_artifactcache/cascache.py: Refactor slightly for indentation</title>
<updated>2018-10-25T12:58:09+00:00</updated>
<author>
<name>Daniel Silverstone</name>
<email>daniel.silverstone@codethink.co.uk</email>
</author>
<published>2018-10-24T10:09:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=6e539889b7416a65c4a5fdfcb0a8bfac6add2485'/>
<id>6e539889b7416a65c4a5fdfcb0a8bfac6add2485</id>
<content type='text'>
Correct some multi-line conditional indentation by slight refactor
if necessary.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correct some multi-line conditional indentation by slight refactor
if necessary.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sandbox/_sandboxchroot.py: Silence warning about dict.get</title>
<updated>2018-10-25T12:58:09+00:00</updated>
<author>
<name>Daniel Silverstone</name>
<email>daniel.silverstone@codethink.co.uk</email>
</author>
<published>2018-10-24T09:57:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=39a7b5f75e8c74639e759f53f998722c0c38327f'/>
<id>39a7b5f75e8c74639e759f53f998722c0c38327f</id>
<content type='text'>
Sometimes `dict.get()` is preferable to an `if` statement, but this time
it's clearer if we keep the structure.  As such, silence the warning.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes `dict.get()` is preferable to an `if` statement, but this time
it's clearer if we keep the structure.  As such, silence the warning.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sandbox/_sandboxchroot.py: Silence warning about preexec_fn</title>
<updated>2018-10-25T12:58:09+00:00</updated>
<author>
<name>Daniel Silverstone</name>
<email>daniel.silverstone@codethink.co.uk</email>
</author>
<published>2018-10-24T09:56:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=cc2b299e466c8dea166e52f4f43241eb95b035f2'/>
<id>cc2b299e466c8dea166e52f4f43241eb95b035f2</id>
<content type='text'>
We are super-careful to not use threads in places where we might use
Popen and as such this warning is save to quash.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We are super-careful to not use threads in places where we might use
Popen and as such this warning is save to quash.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sandbox/_sandboxchroot.py: Silence warning about unused variable</title>
<updated>2018-10-25T12:58:09+00:00</updated>
<author>
<name>Daniel Silverstone</name>
<email>daniel.silverstone@codethink.co.uk</email>
</author>
<published>2018-10-24T09:55:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/buildstream.git/commit/?id=91afae39d0bc73e06ccf59520f589b1cb8313d89'/>
<id>91afae39d0bc73e06ccf59520f589b1cb8313d89</id>
<content type='text'>
The variable was unused, remove it.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The variable was unused, remove it.

Signed-off-by: Daniel Silverstone &lt;daniel.silverstone@codethink.co.uk&gt;
</pre>
</div>
</content>
</entry>
</feed>
