<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitpython.git/test-requirements.txt, branch baserock/zuul-ci</title>
<subtitle>github.com: gitpython-developers/GitPython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/'/>
<entry>
<title>Merge branch 'tox' of https://github.com/hashar/GitPython into hashar-tox</title>
<updated>2014-11-14T15:15:31+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2014-11-14T15:10:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=c914637ab146c23484a730175aa10340db91be70'/>
<id>c914637ab146c23484a730175aa10340db91be70</id>
<content type='text'>
Conflicts:
	README.md
	requirements.txt
	setup.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	README.md
	requirements.txt
	setup.py
</pre>
</div>
</content>
</entry>
<entry>
<title>tox env to easily run flake8</title>
<updated>2014-07-25T09:21:30+00:00</updated>
<author>
<name>Antoine Musso</name>
<email>hashar@free.fr</email>
</author>
<published>2014-07-25T09:10:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=d43055d44e58e8f010a71ec974c6a26f091a0b7a'/>
<id>d43055d44e58e8f010a71ec974c6a26f091a0b7a</id>
<content type='text'>
Most people know about pep8 which enforce coding style.  pyflakes goes a
step beyond by analyzing the code.

flake8 is basically a wrapper around both pep8 and pyflakes and comes
with some additional checks.  I find it very useful since you only need
to require one package to have a lot of code issues reported to you.

This patch provides a 'flake8' tox environement to easily install and
run the utility on the code base.  One simply has to:

 tox -eflake8

The env has been added to the default list of environement to have
flake8 run by default.

The repository in its current state does not pass checks but I noticed a
pull request fixing pep8 issues.  We can later easily ensure there is no
regression by adjusting Travis configuration to run this env.

More informations about flake8: https://pypi.python.org/pypi/flake8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most people know about pep8 which enforce coding style.  pyflakes goes a
step beyond by analyzing the code.

flake8 is basically a wrapper around both pep8 and pyflakes and comes
with some additional checks.  I find it very useful since you only need
to require one package to have a lot of code issues reported to you.

This patch provides a 'flake8' tox environement to easily install and
run the utility on the code base.  One simply has to:

 tox -eflake8

The env has been added to the default list of environement to have
flake8 run by default.

The repository in its current state does not pass checks but I noticed a
pull request fixing pep8 issues.  We can later easily ensure there is no
regression by adjusting Travis configuration to run this env.

More informations about flake8: https://pypi.python.org/pypi/flake8
</pre>
</div>
</content>
</entry>
<entry>
<title>Use tox to easily run tests in venv</title>
<updated>2014-07-25T09:20:27+00:00</updated>
<author>
<name>Antoine Musso</name>
<email>hashar@free.fr</email>
</author>
<published>2014-07-25T09:01:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitpython.git/commit/?id=2ddd5e5ef89da7f1e3b3a7d081fbc7f5c46ac11c'/>
<id>2ddd5e5ef89da7f1e3b3a7d081fbc7f5c46ac11c</id>
<content type='text'>
tox https://pypi.python.org/pypi/tox is a thin wrapper around virtualenv
which let you craft a fresh python environement to execute command in.

It creates the env with virtualenv, install dependencies, run python
setup.py install in it and then execute whatever command you want it to
do and report status.

To do so I simply:

- listed tests dependencies in test-requirements.txt (which are just
  nose and mock)
- provide a tox.ini file which describe how to install the dependencies
  and execute nosetests
- added the module 'coverage' to the list of test dependencies

To run tests simply:

 pip install tox &amp;&amp; tox

That will execute the test command 'nosetests' using python2.6 and then
python 2.7.

The additional env 'cover' can be run using: tox -ecover.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tox https://pypi.python.org/pypi/tox is a thin wrapper around virtualenv
which let you craft a fresh python environement to execute command in.

It creates the env with virtualenv, install dependencies, run python
setup.py install in it and then execute whatever command you want it to
do and report status.

To do so I simply:

- listed tests dependencies in test-requirements.txt (which are just
  nose and mock)
- provide a tox.ini file which describe how to install the dependencies
  and execute nosetests
- added the module 'coverage' to the list of test dependencies

To run tests simply:

 pip install tox &amp;&amp; tox

That will execute the test command 'nosetests' using python2.6 and then
python 2.7.

The additional env 'cover' can be run using: tox -ecover.
</pre>
</div>
</content>
</entry>
</feed>
