Skip to content

Commit

Permalink
Merge pull request #37 from lukeanderson93/main
Browse files Browse the repository at this point in the history
Fix SyntaxWarning: invalid escape sequence.
  • Loading branch information
mkaranasou authored Jan 13, 2025
2 parents 199a6b1 + d2b2fc6 commit 92b8d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyaml_env/parse_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def parse_config(

# For inner type conversions because double tags do not work, e.g. !ENV !!float
type_tag = 'tag:yaml.org,2002:'
type_tag_pattern = re.compile(f'({type_tag}\w+\s)')
type_tag_pattern = re.compile(rf'({type_tag}\w+\s)')

def constructor_env_variables(loader, node):
"""
Expand Down

0 comments on commit 92b8d76

Please sign in to comment.