diff --git a/sedr/preflight.py b/sedr/preflight.py index e827c2f..9c63278 100644 --- a/sedr/preflight.py +++ b/sedr/preflight.py @@ -57,7 +57,9 @@ def parse_conformance(url: str, timeout: int, landing_json) -> bool: util.logger.warning("Conformance page <%s> is not valid JSON.", url) return False - resolves, resolves_message = util.test_conformance_links(jsondata=conformance_json, timeout=util.args.timeout) + resolves, resolves_message = util.test_conformance_links( + jsondata=conformance_json, timeout=util.args.timeout + ) if not resolves and util.args.strict: util.logger.error(resolves_message) if util.args.strict: diff --git a/sedr/rodeoprofile10.py b/sedr/rodeoprofile10.py index 7a45543..8b0f67f 100644 --- a/sedr/rodeoprofile10.py +++ b/sedr/rodeoprofile10.py @@ -13,7 +13,7 @@ def requirement7_1(jsondata: dict) -> tuple[bool, str]: """ Check if the conformance page contains the required EDR classes. - + jsondata should be a valid conformance page json dict. """ spec_url = f"{spec_base_url}#_requirements_class_core" diff --git a/sedr/test_rodeoprofile10.py b/sedr/test_rodeoprofile10.py index 136f46a..2756af7 100644 --- a/sedr/test_rodeoprofile10.py +++ b/sedr/test_rodeoprofile10.py @@ -22,7 +22,9 @@ def test_requirement7_2(self): self.assertTrue(ok) # Bad tests - with open("testdata/edrisobaric_landing-bad-desc.json", "r", encoding="utf-8") as f: + with open( + "testdata/edrisobaric_landing-bad-desc.json", "r", encoding="utf-8" + ) as f: landing_json = json.load(f) ok, _ = profile.requirement7_2(landing_json, timeout=10) self.assertFalse(ok)