1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-08-08 22:36:48 +02:00

fix escape warnings

This commit is contained in:
Kelly Brazil
2024-03-14 12:06:34 -07:00
parent 36de08a6f8
commit 50638cc11e
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
"""jc - JSON Convert `dir` command output parser
r"""jc - JSON Convert `dir` command output parser
Options supported:
- `/T timefield`

View File

@ -210,7 +210,7 @@ def remove_quotes(data: str) -> str:
def normalize_key(data: str) -> str:
"""
r"""
Normalize a key name by shifting to lower-case and converting special
characters to underscores.
@ -229,7 +229,7 @@ def normalize_key(data: str) -> str:
string
"""
special = '''!"#$%&'()*+,-./:;<=>?@[\]^`{|}~ '''
special = r'''!"#$%&'()*+,-./:;<=>?@[\]^`{|}~ '''
initial_underscore = False
data = data.strip().lower()