Skip to content

Commit

Permalink
deprecate ignored_extensions
Browse files Browse the repository at this point in the history
Co-authored-by: Jiri <yedpodtrzitko@users.noreply.github.com>
  • Loading branch information
Thesacraft and yedpodtrzitko committed Jun 6, 2024
1 parent 1bd008d commit c8937cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tagstudio/src/core/json_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class JsonLibary(TypedDict("", {"ts-version": str})):
entries: "list[JsonEntry]"
ext_list: list[str]
is_exclude_list: bool
ignored_extensions: list[str]
ignored_extensions: NotRequired[list[str]] # deprecated

Check failure on line 13 in tagstudio/src/core/json_typing.py

View workflow job for this annotation

GitHub Actions / Run MyPy

[mypy] reported by reviewdog 🐶 Name "NotRequired" is not defined [name-defined] Raw Output: /home/runner/work/TagStudio/TagStudio/tagstudio/src/core/json_typing.py:13:25: error: Name "NotRequired" is not defined [name-defined]


class JsonBase(TypedDict):
Expand Down

0 comments on commit c8937cb

Please sign in to comment.