mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-02 13:05:33 +00:00
Chore(mypy): Annotate None returns for typing improvements (#11213)
This commit is contained in:
1 parent
a9c0b06e28
commit
3b5ffbf9fa
113 files changed
+1598
-1510
No files matched your search
@@ -164,7 +164,7 @@ class ConsumableDocument:
|
||||
mailrule_id: int | None = None
|
||||
mime_type: str = dataclasses.field(init=False, default=None)
|
||||
|
||||
def __post_init__(self):
|
||||
def __post_init__(self) -> None:
|
||||
"""
|
||||
After a dataclass is initialized, this is called to finalize some data
|
||||
1. Make sure the original path is an absolute, fully qualified path
|
||||
|
||||
Reference in new issue
Block a user