Skip to content

Commit 70098c9

Browse files
committed
Add __all__ to exc for linting
1 parent 256d341 commit 70098c9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

gitdb/exc.py

Lines changed: 11 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy