Skip to content

Commit 0720c53

Browse files
committed
ignore more types
1 parent 30f9b69 commit 0720c53

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,3 @@ repos:
5050
rev: 'v1.15.0'
5151
hooks:
5252
- id: mypy
53-
args: [src, --ignore-missing-imports, --follow-imports=silent]

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
# 'pointsize': '10pt',
175175
# Additional stuff for the LaTeX preamble.
176176
# 'preamble': '',
177-
}
177+
} # type: dict[str, str]
178178

179179
# Grouping the document tree into LaTeX files. List of tuples
180180
# (source start file, target name, title, author, documentclass [howto/manual]).

tests/test_modeltest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
pytestmark = pytest.mark.usefixtures("qtbot")
77

88

9-
class BasicModel(qt_api.QtCore.QAbstractItemModel):
9+
class BasicModel(qt_api.QtCore.QAbstractItemModel): # type: ignore[name-defined]
1010
def data(self, index, role=qt_api.QtCore.Qt.ItemDataRole.DisplayRole):
1111
return None
1212

0 commit comments

Comments
 (0)