Skip to content

Commit

Permalink
Removed comments causing mypy to fail (fixes #1563)
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed Jul 31, 2023
1 parent e62fd67 commit 54d05ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frictionless/dialect/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ class IDialect(TypedDict, total=False):
excel: IExcelControl


# implicit type
class IControl(TypedDict, total=False):
name: str
# implicit = type
title: str
description: str

Expand Down
2 changes: 1 addition & 1 deletion frictionless/resource/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# TODO: replace by frictionless-standards
class IResource(TypedDict, total=False):
name: Required[str]
# type: required
# type = required
title: str
description: str
path: str
Expand Down
2 changes: 1 addition & 1 deletion frictionless/schema/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ISchema(TypedDict, total=False):

class IField(TypedDict, total=False):
name: Required[str]
# type: required
# type = required
title: str
description: str
format: str
Expand Down

0 comments on commit 54d05ab

Please sign in to comment.