Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 70098c9

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

File tree

1 file changed

+11
-0
lines changed
Filter options

1 file changed

+11
-0
lines changed

‎gitdb/exc.py

Copy file name to clipboardExpand all lines: gitdb/exc.py
+11Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.