<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/tools/hacking.py, branch rolling</title>
<subtitle> (mirror of https://github.com/vyos/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2017-12-08T03:40:07+00:00</updated>
<entry>
<title>pylint: Update pylint to 1.7.1, run on tests/ and tools and fix complaints.</title>
<updated>2017-12-08T03:40:07+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2017-12-06T22:30:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=a110e483e8644ab73e69853ea11b6c4c6cfa04b6'/>
<id>urn:sha1:a110e483e8644ab73e69853ea11b6c4c6cfa04b6</id>
<content type='text'>
The motivation for this is that
 a.) 1.7.1 runs with python 3.6 (bionic)
 b.) we want to run pylint on tests/ and tools for the same reasons
     that we want to run it on cloudinit/

The changes are described below.
- Update tox.ini to invoke pylint v1.7.1.
- Modify .pylintrc generated-members ignore mocked object members (m_.*)
- Replace "dangerous" params defaulting to {}
- Fix up cloud_tests use of platforms
- Cast some instance objects to with dict()
- Handle python2.7 vs 3+ ConfigParser use of readfp (deprecated)
- Update use of assertEqual(&lt;boolean&gt;, value) to assert&lt;Boolean&gt;(value)
- replace depricated assertRegexp -&gt; assertRegex
- Remove useless test-class calls to super class
- Assign class property accessors a result and use it
- Fix missing class member in CepkoResultTests
- Fix Cheetah test import
</content>
</entry>
<entry>
<title>flake8: move the pinned version of flake8 up to 3.3.0</title>
<updated>2017-05-23T20:07:51+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2017-05-23T17:09:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=2825a917e5fa130818c0d77219f32961b99a057f'/>
<id>urn:sha1:2825a917e5fa130818c0d77219f32961b99a057f</id>
<content type='text'>
This just moves flake8 and related tools up to newer versions and fixes
the complaints associated with that.

We added to the list of flake8 ignores:
 H102: do not put vim info in source files
 H304: no relative imports

Also updates and pins the following in the flake8 environment:
  pep8:        1.7.0  =&gt; drop  (although hacking still pulls it in).
  pyflakes     1.1.0  =&gt; 1.5.0
  hacking      0.10.2 =&gt; 0.13.0
  flake8       2.5.4  =&gt; 3.3.0
  pycodestyle  none   =&gt; 2.3.1
</content>
</entry>
<entry>
<title>LICENSE: Allow dual licensing GPL-3 or Apache 2.0</title>
<updated>2016-12-22T22:04:28+00:00</updated>
<author>
<name>Jon Grimm</name>
<email>jon.grimm@canonical.com</email>
</author>
<published>2016-11-22T23:09:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=b2a9f33616c806ae6e052520a8589113308f567c'/>
<id>urn:sha1:b2a9f33616c806ae6e052520a8589113308f567c</id>
<content type='text'>
This has been a recurring ask and we had initially just made the change to
the cloud-init 2.0 codebase.  As the current thinking is we'll just
continue to enhance the current codebase, its desirable to relicense to
match what we'd intended as part of the 2.0 plan here.

- put a brief description of license in LICENSE file
- put full license versions in LICENSE-GPLv3 and LICENSE-Apache2.0
- simplify the per-file header to reference LICENSE
- tox: ignore H102 (Apache License Header check)

Add license header to files that ship.
Reformat headers, make sure everything has vi: at end of file.

Non-shipping files do not need the copyright header,
but at the moment tests/ have it.
</content>
</entry>
<entry>
<title>pep8: fix style errors reported by pycodestyle 2.1.0</title>
<updated>2016-11-11T02:01:12+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@brickies.net</email>
</author>
<published>2016-11-11T02:01:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=584b8434872322a9f617831742cc6b15977ecfbc'/>
<id>urn:sha1:584b8434872322a9f617831742cc6b15977ecfbc</id>
<content type='text'>
pycodestyle 2.1.0 is in Ubuntu zesty, and complained about the
changes made here.  Simple style changes.  This makes 'make pep8'
pass again when built in a zesty build system with proposed enabled.
</content>
</entry>
<entry>
<title>pep8: update formatting to pass pep8 1.4.6 (trusty) and 1.6.2 (xenial)</title>
<updated>2016-03-04T15:51:05+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2016-03-04T15:51:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=70acc910c3368980d7cb8971391a2c9dfaf3fda8'/>
<id>urn:sha1:70acc910c3368980d7cb8971391a2c9dfaf3fda8</id>
<content type='text'>
make check fails in a trusty sbuild due to different rules on older pep8.
Fix formatting to pass in older and newer pep8.
</content>
</entry>
<entry>
<title>Update pep8 runner and fix pep8 issues</title>
<updated>2016-03-03T22:20:10+00:00</updated>
<author>
<name>Ryan Harper</name>
<email>ryan.harper@canonical.com</email>
</author>
<published>2016-03-03T22:20:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=8cb7c3f7b5339e686bfbf95996b51afafeaf9c9e'/>
<id>urn:sha1:8cb7c3f7b5339e686bfbf95996b51afafeaf9c9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix 'Make pyflakes'</title>
<updated>2015-05-01T09:38:56+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2015-05-01T09:38:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=96854d720d4bd356181acfa093744599a807ea8e'/>
<id>urn:sha1:96854d720d4bd356181acfa093744599a807ea8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>further remove evidence of pylint.</title>
<updated>2014-08-26T19:53:41+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2014-08-26T19:53:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=5fb6482692cfffba5ba45102858b14ba3acc5bc7'/>
<id>urn:sha1:5fb6482692cfffba5ba45102858b14ba3acc5bc7</id>
<content type='text'>
This just removes comments '# pylint:' things and other code
remnents of pylint.
</content>
</entry>
<entry>
<title>fix(pep8): Fix various pep8 violations and version-lock pep8</title>
<updated>2014-08-26T18:50:11+00:00</updated>
<author>
<name>Jay Faulkner</name>
<email>jay@jvf.cc</email>
</author>
<published>2014-08-26T18:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=b3216b56f3fea3259c290faa2dd496215b625904'/>
<id>urn:sha1:b3216b56f3fea3259c290faa2dd496215b625904</id>
<content type='text'>
Fixed all complaints from running "make pep8". Also version locked
pep8 in test-requirements.txt to ensure that pep8 requirements don't
change without an explicit commit.
</content>
</entry>
<entry>
<title>whitespace / indentation cleanups</title>
<updated>2012-11-11T03:32:49+00:00</updated>
<author>
<name>Scott Moser</name>
<email>smoser@ubuntu.com</email>
</author>
<published>2012-11-11T03:32:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=3248ac9bbb2008e88a3bd9c030ba0fcbc14b7fce'/>
<id>urn:sha1:3248ac9bbb2008e88a3bd9c030ba0fcbc14b7fce</id>
<content type='text'>
These changes were pulled out of the previous merge (cc_yum_add_repo)
as they were unrelated there.  Re-applying them here.
</content>
</entry>
</feed>
