Skip to content

Commit 69eaa96

Browse files
committed
Fix mypy incompatible type problem on this branch
1 parent 84b009f commit 69eaa96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
rev: v1.18.2
2929
hooks:
3030
- id: mypy
31-
args: [--strict, --ignore-missing-imports, --explicit-package-bases, --allow-untyped-decorators, --allow-subclassing-any, --allow-untyped-call]
31+
args: [--strict, --ignore-missing-imports, --explicit-package-bases, --no-warn-unused-ignores, --allow-untyped-decorators, --allow-subclassing-any, --allow-untyped-call]
3232
additional_dependencies:
3333
- types-requests
3434
- PyQt6-stubs

src/surface/gui/gui/widgets/flood_warning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from rov_msgs.msg import Flooding
1313

1414
# The 'Loop' enum has int values, not 'Loop', unbeknownst to mypy
15-
Q_SOUND_EFFECT_LOOP_FOREVER: int = QSoundEffect.Loop.Infinite.value # [assignment]
15+
Q_SOUND_EFFECT_LOOP_FOREVER: int = QSoundEffect.Loop.Infinite.value # type: ignore[assignment]
1616

1717

1818
class FloodWarning(QWidget):

0 commit comments

Comments
 (0)