Skip to content

Commit 8d79a86

Browse files
committed
Fix error in mypy 0.920
1 parent 69370e4 commit 8d79a86

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ requires = [
2727
dev = [
2828
"black ~= 21.12b0",
2929
"pyflakes ~= 2.4",
30-
"mypy ~= 0.910",
30+
"mypy ~= 0.920",
3131
"pyinstaller ~= 4.7",
3232
"isort ~= 5.10.1",
3333
"types-requests ~= 2.26.1",

snooty/flutter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def make_factory(value: object) -> Callable[[], Any]:
8080
# in the lambda is a ~~hack~~ to avoid messing up the variable binding.
8181
fields: Dict[str, _Field] = {
8282
field.name: _Field(
83-
field.default_factory # type: ignore
83+
field.default_factory
8484
if field.default_factory is not MISSING # type: ignore
8585
else (
8686
(make_factory(field.default))

0 commit comments

Comments
 (0)