Skip to content

Commit

Permalink
Checkin.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Feb 1, 2024
1 parent 3d062c2 commit 8937675
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
18 changes: 9 additions & 9 deletions galaxy_importer/loaders/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,18 @@ def load(self):
logger=self.log,
cfg=self.cfg,
).load()
assert self.doc_strings['filter']['community.filters.to_years']
for key in self.doc_strings['filter']:
assert self.doc_strings['filter'][key], f"1. {key} missing doc strings"
# assert self.doc_strings['filter']['community.filters.to_years']
#for key in self.doc_strings['filter']:
# assert self.doc_strings['filter'][key], f"1. {key} missing doc strings"

self.content_objs = list(self._load_contents())
self.contents = self._build_contents_blob()

self.docs_blob = self._build_docs_blob()
# the res.docs_blob should have doc strings for all the filters ...
for bcontent in self.docs_blob.contents:
assert bcontent.doc_strings, f"2. {bcontent} missing doc strings"
# import epdb; epdb.st()
#for bcontent in self.docs_blob.contents:
# assert bcontent.doc_strings, f"2. {bcontent} missing doc strings"
# # import epdb; epdb.st()

self.requires_ansible = file_parser.RuntimeFileParser(self.path).get_requires_ansible()
self._check_ee_yml_dep_files()
Expand All @@ -125,9 +125,9 @@ def load(self):
)

# the res.docs_blob should have doc strings for all the filters ...
for bcontent in res.docs_blob.contents:
assert bcontent.doc_strings, f"3. {bcontent} missing doc strings"
# import epdb; epdb.st()
#for bcontent in res.docs_blob.contents:
# assert bcontent.doc_strings, f"3. {bcontent} missing doc strings"
# # import epdb; epdb.st()

return schema.ImportResult(
metadata=self.metadata,
Expand Down
1 change: 0 additions & 1 deletion galaxy_importer/loaders/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ def _get_plugin_doc_strings(self):
try:
return self.doc_strings[self.content_type.value][fq_name]
except KeyError:
import epdb; epdb.st()
return None

def _run_flake8(self, path):
Expand Down

0 comments on commit 8937675

Please sign in to comment.