Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 25, 2024
1 parent bb2a3e3 commit 2a9e1c3
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/diffpy/utils/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from pathlib import Path



def clean_dict(obj):
"""Remove keys from the dictionary where the corresponding value is None.
Expand All @@ -26,9 +25,7 @@ def clean_dict(obj):


def _stringify(obj):
"""
Convert None to an empty string.
"""Convert None to an empty string.
Parameters
----------
Expand All @@ -44,9 +41,8 @@ def _stringify(obj):


def _load_config(file_path):
"""
Load configuration from a .json file.
>>>>>>> de55560eb525ef412c38bb31d21d43d9b170d3f6
"""Load configuration from a .json file. >>>>>>>
de55560eb525ef412c38bb31d21d43d9b170d3f6.
Parameters
----------
Expand Down

0 comments on commit 2a9e1c3

Please sign in to comment.