Skip to content

Commit

Permalink
Add __all__ to exc for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
DeflateAwning committed Oct 6, 2023
1 parent 256d341 commit 70098c9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions gitdb/exc.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
"""Module with common exceptions"""
from gitdb.util import to_hex_sha

__all__ = [
'AmbiguousObjectName',
'BadName',
'BadObject',
'BadObjectType',
'InvalidDBRoot',
'ODBError',
'ParseError',
'UnsupportedOperation',
'to_hex_sha',
]

class ODBError(Exception):
"""All errors thrown by the object database"""
Expand Down

0 comments on commit 70098c9

Please sign in to comment.