diff options
| author | Antoine Musso <hashar@free.fr> | 2014-11-16 20:56:53 +0100 |
|---|---|---|
| committer | Antoine Musso <hashar@free.fr> | 2014-11-16 21:05:53 +0100 |
| commit | 614907b7445e2ed8584c1c37df7e466e3b56170f (patch) | |
| tree | 4b6e09110cd356799e9fa0f188fae55e5fa81fca /git/refs/tag.py | |
| parent | be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6 (diff) | |
| download | GitPython-614907b7445e2ed8584c1c37df7e466e3b56170f.tar.gz GitPython-614907b7445e2ed8584c1c37df7e466e3b56170f.zip | |
pep8 linting (whitespace before/after)
E201 whitespace after '('
E202 whitespace before ')'
E203 whitespace before ':'
E225 missing whitespace around operator
E226 missing whitespace around arithmetic operator
E227 missing whitespace around bitwise or shift operator
E228 missing whitespace around modulo operator
E231 missing whitespace after ','
E241 multiple spaces after ','
E251 unexpected spaces around keyword / parameter equals
Diffstat (limited to 'git/refs/tag.py')
| -rw-r--r-- | git/refs/tag.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/refs/tag.py b/git/refs/tag.py index 2845ec7c..ff32224a 100644 --- a/git/refs/tag.py +++ b/git/refs/tag.py @@ -30,7 +30,7 @@ class TagReference(Reference): # it is a tag object which carries the commit as an object - we can point to anything return obj.object else: - raise ValueError( "Tag %s points to a Blob or Tree - have never seen that before" % self ) + raise ValueError("Tag %s points to a Blob or Tree - have never seen that before" % self) @property def tag(self): @@ -71,7 +71,7 @@ class TagReference(Reference): Additional keyword arguments to be passed to git-tag :return: A new TagReference""" - args = ( path, ref ) + args = (path, ref) if message: kwargs['m'] = message if force: |
