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
@@ -34,7 +34,7 @@ def log_reason(
|
||||
matching_model: MatchingModel | WorkflowTrigger,
|
||||
document: Document,
|
||||
reason: str,
|
||||
):
|
||||
) -> None:
|
||||
class_name = type(matching_model).__name__
|
||||
name = (
|
||||
matching_model.name if hasattr(matching_model, "name") else str(matching_model)
|
||||
|
||||
Reference in new issue
Block a user