Skip to content

Commit

Permalink
Merge pull request #98 from DeflateAwning/patch-1
Browse files Browse the repository at this point in the history
Add __all__ to exc for linting
  • Loading branch information
Byron authored Oct 7, 2023
2 parents 256d341 + 70098c9 commit 8ec2390
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 8ec2390

Please sign in to comment.