aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/cleanups
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-03 14:22:56 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-11-03 16:46:07 -0700
commit7cd0d97849f37d366a33c98204321c471fb6011c (patch)
tree034bd0a1d86e4bf32c4e9caa3826f0b7ebb6a95f /python/fatcat_tools/cleanups
parent45612465cc08114fa19588ea1b0aba0ace1e7b03 (diff)
downloadfatcat-7cd0d97849f37d366a33c98204321c471fb6011c.tar.gz
fatcat-7cd0d97849f37d366a33c98204321c471fb6011c.zip
typing: add assertions to fatcat_tool code to make type assumptions explicit
Diffstat (limited to 'python/fatcat_tools/cleanups')
-rw-r--r--python/fatcat_tools/cleanups/common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_tools/cleanups/common.py b/python/fatcat_tools/cleanups/common.py
index 7ebfc8a0..4e8e49fd 100644
--- a/python/fatcat_tools/cleanups/common.py
+++ b/python/fatcat_tools/cleanups/common.py
@@ -141,4 +141,5 @@ class EntityCleaner:
)
self._editgroup_id = eg.editgroup_id
+ assert self._editgroup_id
return self._editgroup_id