diff options
author | Antoine Musso <hashar@free.fr> | 2014-11-16 20:51:04 +0100 |
---|---|---|
committer | Antoine Musso <hashar@free.fr> | 2014-11-16 20:51:21 +0100 |
commit | be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6 (patch) | |
tree | 7d0124054760421d95a6f675d8e843e42a72ad82 /git/refs/head.py | |
parent | f5d11b750ecc982541d1f936488248f0b42d75d3 (diff) | |
download | gitpython-be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6.tar.gz |
pep8 linting (blank lines expectations)
E301 expected 1 blank line, found 0
E302 expected 2 blank lines, found 1
E303 too many blank lines (n)
Diffstat (limited to 'git/refs/head.py')
-rw-r--r-- | git/refs/head.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/refs/head.py b/git/refs/head.py index 1b3e7f00..662c2c87 100644 --- a/git/refs/head.py +++ b/git/refs/head.py @@ -10,8 +10,8 @@ from git.exc import GitCommandError __all__ = ["HEAD", "Head"] - class HEAD(SymbolicReference): + """Special case of a Symbolic Reference as it represents the repository's HEAD reference.""" _HEAD_NAME = 'HEAD' @@ -92,6 +92,7 @@ class HEAD(SymbolicReference): class Head(Reference): + """A Head is a named reference to a Commit. Every Head instance contains a name and a Commit object. @@ -151,7 +152,6 @@ class Head(Reference): return self - def tracking_branch(self): """ :return: The remote_reference we are tracking, or None if we are |