Skip to content

Commit

Permalink
style: style fixes by ruff and autoformatting by black
Browse files Browse the repository at this point in the history
  • Loading branch information
rabii-chaarani authored and github-actions[bot] committed Nov 6, 2024
1 parent be834a5 commit 7da7a5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion LoopDataConverter/converters/loop_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def convert(self):
self._used_converter = self._used_converter(data)
self._used_converter.convert()
self.data = self._used_converter._data


def save(self, datatype: Datatype, file_path: str, file_extension: str = None):
if file_extension == "geojson":
Expand Down
3 changes: 2 additions & 1 deletion LoopDataConverter/utils/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
logging.basicConfig(level=logging.ERROR)
logger = logging.getLogger(__name__)


def convert_dipdir_terms(cardinal: str):
"""
Convert cardinal directions to degrees.
Expand Down Expand Up @@ -165,4 +166,4 @@ def split_string(input_string):
logger.info(f"split_string called with input_string: {input_string}")
result = re.split(r'\s+', input_string)
logger.info(f"split_string returning: {result}")
return result
return result

0 comments on commit 7da7a5e

Please sign in to comment.