Skip to content

Navigation Menu

Sign in
Appearance settings

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 8ec2390

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

File tree

Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Filter options
Expand file treeCollapse file tree

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.