From 2bc5a2987f5657f28a08375529a27e600a8efe56 Mon Sep 17 00:00:00 2001 From: vinny Date: Tue, 24 Sep 2024 11:12:51 -0400 Subject: [PATCH] HARMONY-1862: Lint issues --- dev-requirements.txt | 4 ++-- harmony/s3_stac_io.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-requirements.txt b/dev-requirements.txt index 57f2bce..66f67fd 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,7 +1,7 @@ autopep8 ~= 1.5 debugpy ~= 1.2 Faker ~= 8.1.3 -flake8 ~= 5.0.4 +flake8 >= 6.1.0 ipython ~= 8.10.0 jedi ~= 0.17.2 parameterized ~= 0.7 @@ -11,5 +11,5 @@ pytest-mock ~=3.5 python-language-server ~= 0.35 responses ~=0.22.0 safety ~= 2.3.5 -pycodestyle ~= 2.9.1 +pycodestyle >= 2.9.1 setuptools ~= 68.1.2 \ No newline at end of file diff --git a/harmony/s3_stac_io.py b/harmony/s3_stac_io.py index 41cf087..b01003a 100644 --- a/harmony/s3_stac_io.py +++ b/harmony/s3_stac_io.py @@ -12,7 +12,8 @@ defaultStacIO = DefaultStacIO() -class S3StacIO(StacIO): + +class S3StacIO(StacIO): def read_text(self, uri): """ @@ -40,7 +41,6 @@ def read_text(self, uri): else: return defaultStacIO.read_text(uri) - def write_text(self, uri, txt): """ Writes a STAC file to the given uri.