Skip to content

Commit 8ec2390

Browse files
authored
Merge pull request gitpython-developers#98 from DeflateAwning/patch-1
Add __all__ to exc for linting
2 parents 256d341 + 70098c9 commit 8ec2390

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Diff for: gitdb/exc.py

+11
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@
55
"""Module with common exceptions"""
66
from gitdb.util import to_hex_sha
77

8+
__all__ = [
9+
'AmbiguousObjectName',
10+
'BadName',
11+
'BadObject',
12+
'BadObjectType',
13+
'InvalidDBRoot',
14+
'ODBError',
15+
'ParseError',
16+
'UnsupportedOperation',
17+
'to_hex_sha',
18+
]
819

920
class ODBError(Exception):
1021
"""All errors thrown by the object database"""

0 commit comments

Comments
 (0)