From 012139e389fdafb5193ee5bb9e75a58c2d712b44 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Thu, 10 Jun 2021 18:12:24 +0200 Subject: [PATCH] added `the` into docstrings --- openpype/tools/project_manager/project_manager/delegates.py | 4 ++-- openpype/tools/project_manager/project_manager/model.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openpype/tools/project_manager/project_manager/delegates.py b/openpype/tools/project_manager/project_manager/delegates.py index 758ab079a9..842352cba1 100644 --- a/openpype/tools/project_manager/project_manager/delegates.py +++ b/openpype/tools/project_manager/project_manager/delegates.py @@ -172,8 +172,8 @@ class TypeDelegate(QtWidgets.QStyledItemDelegate): class ToolsDelegate(QtWidgets.QStyledItemDelegate): """Specific delegate for "tools_env" key. - Expected that editor will be used only on AssetItem which is only item that - can have `tools_env` (except project). + Expected that editor will be used only on AssetItem which is the only item + that can have `tools_env` (except project). Delegate requires tools cache which is shared across all ToolsDelegate objects. diff --git a/openpype/tools/project_manager/project_manager/model.py b/openpype/tools/project_manager/project_manager/model.py index 8ec4fe627d..76e673f920 100644 --- a/openpype/tools/project_manager/project_manager/model.py +++ b/openpype/tools/project_manager/project_manager/model.py @@ -591,7 +591,7 @@ class HierarchyModel(QtCore.QAbstractItemModel): def remove_delete_flag(self, item_ids, with_children=True): """Remove deletion flag on items with matching ids. - Flag is also removed on all parents of passed children as it wouldn't + The flag is also removed on all parents of passed children as it wouldn't make sense to not to do so. Children of passed item ids are by default also unset for deletion.