We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83876d3 commit 53d81f0Copy full SHA for 53d81f0
2 files changed
osc/babysitter.py
@@ -33,15 +33,15 @@
33
from rpm import error as RPMError
34
except:
35
# if rpm-python isn't installed (we might be on a debian system):
36
- class RPMError(Exception):
+ class RPMError(Exception): # type: ignore[no-redef]
37
pass
38
39
40
try:
41
from keyring.errors import KeyringLocked
42
except ImportError:
43
# python-keyring is not installed
44
- class KeyringLocked(Exception):
+ class KeyringLocked(Exception): # type: ignore[no-redef]
45
46
47
osc/grabber.py
@@ -13,7 +13,7 @@
13
14
from urllib3.exceptions import URLSchemeUnknown
15
16
- class URLSchemeUnknown(Exception):
+ class URLSchemeUnknown(Exception): # type: ignore[no-redef]
17
18
19
from .core import streamfile
0 commit comments