<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/cmd2-git.git/tasks.py, branch 0.9.12</title>
<subtitle>github.com: python-cmd2/cmd2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/'/>
<entry>
<title>Added flake8 invoke task to make it easy for developers to run flake8 locally identical to how it gets run during a PR</title>
<updated>2018-12-06T14:20:39+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-12-06T14:20:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=9d90c1eb57c62ba1fcd8e470fa2e27248e1e9064'/>
<id>9d90c1eb57c62ba1fcd8e470fa2e27248e1e9064</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix flake8 issues</title>
<updated>2018-12-06T06:24:19+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-12-06T06:24:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=c689e74fed45bf1a7b2908defc343d35f31dff71'/>
<id>c689e74fed45bf1a7b2908defc343d35f31dff71</id>
<content type='text'>
This commit contains a very large number of trivial changes in order to fix flake8 errors and warnings.  Predominantly these are whitespace changes.

Additionally, the build for Python 3.7 on TravisCI has been tweaked to fail if there are any flake8 errors using the following commandline:
* flake8 . --count --ignore=E252 --max-complexity=31 --max-line-length=127 --show-source --statistics
NOTE: In the future the max cyclomatic complexity should be lowered, but some improvements need to be made first.

One flake8 error is being ignored entirely:
* E252 missing whitespace around parameter equals
    * ignored because it doesn't correctly deal with default argument values after a type hint

A few flake8 errors are being selectively ignored in certain files:
* C901 fuction is too complex
    * ignored in argparse_completer.py because the complex code is an override of argparse complexity
* E302 expected 2 blank lines after ...
    * ignored in all unit test files for convenience
* F401 module imported but unused
    * ignored in cmd2/__init__.py because imports are for convenience of cmd2 developers and backwards compatibility
* F821 undefined name
    * ignored in cmd2 script files which are intended to run only within cmd2 applications via pyscript where "app" and "cmd" are defined
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit contains a very large number of trivial changes in order to fix flake8 errors and warnings.  Predominantly these are whitespace changes.

Additionally, the build for Python 3.7 on TravisCI has been tweaked to fail if there are any flake8 errors using the following commandline:
* flake8 . --count --ignore=E252 --max-complexity=31 --max-line-length=127 --show-source --statistics
NOTE: In the future the max cyclomatic complexity should be lowered, but some improvements need to be made first.

One flake8 error is being ignored entirely:
* E252 missing whitespace around parameter equals
    * ignored because it doesn't correctly deal with default argument values after a type hint

A few flake8 errors are being selectively ignored in certain files:
* C901 fuction is too complex
    * ignored in argparse_completer.py because the complex code is an override of argparse complexity
* E302 expected 2 blank lines after ...
    * ignored in all unit test files for convenience
* F401 module imported but unused
    * ignored in cmd2/__init__.py because imports are for convenience of cmd2 developers and backwards compatibility
* F821 undefined name
    * ignored in cmd2 script files which are intended to run only within cmd2 applications via pyscript where "app" and "cmd" are defined
</pre>
</div>
</content>
</entry>
<entry>
<title>Make name a required argument for the "invoke tag" command</title>
<updated>2018-10-15T02:02:19+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-10-15T02:02:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=2caf5a3d67016a84cf0c3d6243bee20f98db0abd'/>
<id>2caf5a3d67016a84cf0c3d6243bee20f98db0abd</id>
<content type='text'>
This causes the "invoke tag" command to function in an intuitive fashion as so:
    invoke tag tag_name

Previously when name was an optional argument, the name needed to be set using a flag like so:
    invoke tag -n tag_name

This has the side benefit of now making the recommended usage in the Contributor's Guide correct.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This causes the "invoke tag" command to function in an intuitive fashion as so:
    invoke tag tag_name

Previously when name was an optional argument, the name needed to be set using a flag like so:
    invoke tag -n tag_name

This has the side benefit of now making the recommended usage in the Contributor's Guide correct.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added regex to validatetag invoke task to check to make sure Git Tag appears to be a version number</title>
<updated>2018-08-28T03:40:42+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-08-28T03:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=3aec9d82bd0c9ab330540abd153b963884b20db9'/>
<id>3aec9d82bd0c9ab330540abd153b963884b20db9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a validatetag invoke task to check to make sure a Git tag exists for the current HEAD</title>
<updated>2018-08-24T17:20:09+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-08-24T17:20:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=ac33619741ef4cdbf4ddcda444ea0428d1348ef0'/>
<id>ac33619741ef4cdbf4ddcda444ea0428d1348ef0</id>
<content type='text'>
Also:
- The pypi and pypi-test invoke tasks now have the validatetag task as their first prerequisite
- So attempting to publish to pypi without a Git tag will fail
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- The pypi and pypi-test invoke tasks now have the validatetag task as their first prerequisite
- So attempting to publish to pypi without a Git tag will fail
</pre>
</div>
</content>
</entry>
<entry>
<title>Added a tag invoke task for adding a Git tag and pushing it to origin</title>
<updated>2018-08-24T16:49:50+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-08-24T16:49:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=59c4ce802ac78c7f845250a8e0c10210b6283800'/>
<id>59c4ce802ac78c7f845250a8e0c10210b6283800</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed non-working Module Index link from the main Sphinx docs page</title>
<updated>2018-07-31T14:48:46+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-07-31T14:48:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=6cff4b2cb70ba41d6b90a39c829043efa195eec9'/>
<id>6cff4b2cb70ba41d6b90a39c829043efa195eec9</id>
<content type='text'>
Also:
* Improved Sphinx build options in Makefile and via invoke by adding the following options:
    * -n : nit-picky mode, warn about all missing references
    * -v : increase verbosity (can be repeated)
    * -W : turn warnings into errors
    * -T : show full traceback on exception
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
* Improved Sphinx build options in Makefile and via invoke by adding the following options:
    * -n : nit-picky mode, warn about all missing references
    * -v : increase verbosity (can be repeated)
    * -W : turn warnings into errors
    * -T : show full traceback on exception
</pre>
</div>
</content>
</entry>
<entry>
<title>"invoke clean" will now also cleanup mypy daemon artifacts</title>
<updated>2018-06-26T05:29:29+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-06-26T05:29:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=b41982d3aded8b3c09ba2decf985fbdc54a954e9'/>
<id>b41982d3aded8b3c09ba2decf985fbdc54a954e9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added invoke commands for running mypy and cleaning up after it</title>
<updated>2018-06-10T20:26:04+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-06-10T20:26:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=608e290c43510dff1cc7256816f1dd242f77a607'/>
<id>608e290c43510dff1cc7256816f1dd242f77a607</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed apparently dead code from argcomplete_bridge.py</title>
<updated>2018-06-09T21:10:23+00:00</updated>
<author>
<name>Todd Leonhardt</name>
<email>todd.leonhardt@gmail.com</email>
</author>
<published>2018-06-09T21:10:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/cmd2-git.git/commit/?id=19a1f764119aa1c4e391c06b18c0f101ef20a7ce'/>
<id>19a1f764119aa1c4e391c06b18c0f101ef20a7ce</id>
<content type='text'>
Also:
- Made some minor formatting changes in argcomplete_bridge.py to make PyCharm happy
- Fixed typo where "invoke clean" was cleaning up .pytest-cache instead of .pytest_cache
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also:
- Made some minor formatting changes in argcomplete_bridge.py to make PyCharm happy
- Fixed typo where "invoke clean" was cleaning up .pytest-cache instead of .pytest_cache
</pre>
</div>
</content>
</entry>
</feed>
