From b7893bf6b962f229b02d188de2c06a36cf613dec Mon Sep 17 00:00:00 2001
From: Nicholas Shavers <nshavers@contractor.usgs.gov>
Date: Mon, 30 Dec 2024 13:28:51 -0800
Subject: [PATCH] linting

---
 geomagio/api/covjson/CovJSONFactory.py | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/geomagio/api/covjson/CovJSONFactory.py b/geomagio/api/covjson/CovJSONFactory.py
index df26ca10..02088e52 100644
--- a/geomagio/api/covjson/CovJSONFactory.py
+++ b/geomagio/api/covjson/CovJSONFactory.py
@@ -14,9 +14,9 @@ class CovJSONFactory(TimeseriesFactory):
 
     def __init__(
         self,
-        time_format="iso8601",     # could be "iso8601" or "numeric"
-        time_axis_mode="expanded", # could be "expanded" or "start-stop-num"
-        **kwargs
+        time_format="iso8601",  # could be "iso8601" or "numeric"
+        time_axis_mode="expanded",  # could be "expanded" or "start-stop-num"
+        **kwargs,
     ):
         """
         Parameters
@@ -307,16 +307,15 @@ class CovJSONFactory(TimeseriesFactory):
         }
         # Optional: Possibly unsupported
         optional_fields = {
-            "network":  getattr(stats, "network", None),
+            "network": getattr(stats, "network", None),
             "location": getattr(stats, "location", None),
-            "comments":  getattr(stats, "filter_comments", None),
-            "declination_base":getattr(stats, "declincation_base", None),
-            "terms_of_use": getattr(stats, "conditions_of_use", None)
+            "comments": getattr(stats, "filter_comments", None),
+            "declination_base": getattr(stats, "declincation_base", None),
+            "terms_of_use": getattr(stats, "conditions_of_use", None),
         }
         for key, value in optional_fields.items():
             if value is not None:
                 coverage["geomag:info"][key] = value
 
-
         covjson_str = json.dumps(coverage, indent=2)
         fh.write(covjson_str.encode("utf-8"))
-- 
GitLab