From be34ec23c48d6d5d8fd2ef4491981f6fb4bab8e6 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 16 Nov 2014 20:51:04 +0100 Subject: 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) --- git/objects/base.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'git/objects/base.py') diff --git a/git/objects/base.py b/git/objects/base.py index 9e73e2f3..fce41a3d 100644 --- a/git/objects/base.py +++ b/git/objects/base.py @@ -17,7 +17,9 @@ _assertion_msg_format = "Created object %r whose python type %r disagrees with t __all__ = ("Object", "IndexObject") + class Object(LazyMixin): + """Implements an Object which may be Blobs, Trees, Commits and Tags""" NULL_HEX_SHA = '0'*40 NULL_BIN_SHA = '\0'*20 @@ -120,6 +122,7 @@ class Object(LazyMixin): class IndexObject(Object): + """Base for all objects that can be part of the index file , namely Tree, Blob and SubModule objects""" __slots__ = ("path", "mode") -- cgit v1.2.1