Skip to content

Fix SyntaxWarning lib_losoto.py#188

Open
rvweeren wants to merge 1 commit intomasterfrom
rvweeren-patch-1
Open

Fix SyntaxWarning lib_losoto.py#188
rvweeren wants to merge 1 commit intomasterfrom
rvweeren-patch-1

Conversation

@rvweeren
Copy link
Collaborator

Fix these syntax warnings occurring in Python 3.12

/opt/lofar/pyenv-py3/lib64/python3.12/site-packages/losoto/lib_losoto.py:133: SyntaxWarning: invalid escape sequence '\['
  x = re.sub('\[ +', '[', x.strip())
/opt/lofar/pyenv-py3/lib64/python3.12/site-packages/losoto/lib_losoto.py:135: SyntaxWarning: invalid escape sequence '\s'
  x = re.sub('[,\s]+', ', ', x)

Fix these syntax warnings occurring in Python 3.12

/opt/lofar/pyenv-py3/lib64/python3.12/site-packages/losoto/lib_losoto.py:133: SyntaxWarning: invalid escape sequence '\['
  x = re.sub('\[ +', '[', x.strip())
/opt/lofar/pyenv-py3/lib64/python3.12/site-packages/losoto/lib_losoto.py:135: SyntaxWarning: invalid escape sequence '\s'
  x = re.sub('[,\s]+', ', ', x)
@github-actions
Copy link

github-actions bot commented Dec 20, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
4361 765 18% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 78f1295 by action🐍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant