| Age | Commit message (Collapse) | Author |
|
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
|
|
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 && 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.
|
|
More and more packages are listing their dependencies in
requirements.txt which make it trivial to maintain and install them.
|
|
Update README.md to use fixed date
|
|
Relative dates are not that precise, so instead of 3 years ago
set it the last release date to July 2011.
|
|
See https://github.com/gitpython-developers/GitPython/issues/172 for
more information
|
|
As relative paths are used througout, it will work for everyone using
sublime text out of the box.
|
|
Support multiple refspecs in fetch.
|
|
Git supports fetching many refs at once - support this in GitPython
too for more efficient operations when selectively mirroring
repositories.
|
|
Improved retrieval of login names on posix systems.
|
|
https://github.com/gitpython-developers/GitPython/commit/f362d10fa24395c21b1629923ccd705ba73ae996
Related to #43
|
|
Changed link to PyPI; fixed minor typos
|
|
|
|
|
|
|
|
|
|
Conflicts:
setup.py
|
|
|
|
Fix for #142. Simply ignores lines that begin with ' ='
|
|
|
|
Fix typo in untracked_files
|
|
|
|
[skip ci]
|
|
Fix for untracked_files no longer detected #138
|
|
|
|
from its own repo, tags are known to be stable
|
|
If not, pip install should do the job
|
|
|
|
|
|
type in python.
The latter will break code that assumes it will get a string.
|
|
Fixes creating a Repo for a submodule (#155)
|
|
add git command options
|
|
Add __call__ method to Git object to allow
passing git command options to the executable
requires flag to transform_kwargs
add unit tests
Change-Id: If1bc01008e66d3fd3811c15b56e58f38c95b9887
|
|
Add __call__ method to Git object to allow
passing git command options to the executable
requires flag to transform_kwargs
add unit test
Change-Id: If1bc01008e66d3fd3811c15b56e58f38c95b9887
|
|
Fixes #155.
|
|
Add __call__ method to Git object to allow
passing git command options to the executable
Change-Id: If1bc01008e66d3fd3811c15b56e58f38c95b9887
|
|
|
|
Update README.rst, who uses easy_install ;) ?
|
|
Fixed undefined variable 'path' in Reference
|
|
|
|
When command run as subprocess, AutoInterrupt will kill the
process on destructor. However, if process already finished,
it raise OSError exception.
This fix just ignore OSError on os.kill.
Conflicts:
git/cmd.py
|
|
Currently if command is called with as_proces=True, pipes for the
command will not be closed.
This change makes sure to close command file descriptors.
Conflicts:
git/cmd.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|