Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Jun 20, 2024
1 parent 15f2c90 commit ecb9c0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ Bug Fixes
Trivial/Internal Changes
------------------------

- Migate to the asdf 2.8+ ``Converter`` interface, this bumps various
- Migrate to the asdf 2.8+ ``Converter`` interface, this bumps various
dependencies but should have no effect on reading or writing asdf files. (`#152 <https://github.com/DKISTDC/dkist/pull/152>`_)


Expand Down
2 changes: 1 addition & 1 deletion dkist/utils/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def __missing__(self, key):


def _key_clean(key):
key = re.sub("[%s]" % re.escape(string.punctuation), "_", key)
key = re.sub(f"[{re.escape(string.punctuation)}]", "_", key)
key = key.replace(" ", "_")
key = "".join(char for char in key
if char.isidentifier() or char.isnumeric())
Expand Down

0 comments on commit ecb9c0f

Please sign in to comment.