Skip to content

Replace "\z" with r"\z" (Bugfix)#1896

Merged
Hook25 merged 1 commit intomainfrom
fix-backslash-z
May 5, 2025
Merged

Replace "\z" with r"\z" (Bugfix)#1896
Hook25 merged 1 commit intomainfrom
fix-backslash-z

Conversation

@tomli380576
Copy link
Copy Markdown
Contributor

Description

This PR replaces the invalid escape sequence "\z" with r"\z"

Resolved issues

When installing checkbox it was producing a warning about this. This PR fixes it.

Documentation

Python has been implicitly converting it to a backslash with a z since there's no \z escape sequence.

Tests

No changes to tests

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.46%. Comparing base (ef6f53c) to head (749044e).
⚠️ Report is 111 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1896   +/-   ##
=======================================
  Coverage   50.46%   50.46%           
=======================================
  Files         382      382           
  Lines       41039    41039           
  Branches     6892     6892           
=======================================
  Hits        20709    20709           
  Misses      19585    19585           
  Partials      745      745           
Flag Coverage Δ
checkbox-ng 70.23% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tomli380576 tomli380576 changed the title Replace "\z" with r"\z" (Bugfix) Replace "\z" with r"\z" (Bugfix) Apr 30, 2025
@Hook25 Hook25 merged commit 6a494a8 into main May 5, 2025
21 checks passed
@Hook25 Hook25 deleted the fix-backslash-z branch May 5, 2025 08:31
Meulengracht pushed a commit to Meulengracht/checkbox that referenced this pull request May 19, 2025
mreed8855 pushed a commit that referenced this pull request Jul 30, 2025
fix: bad escape sequence
mreed8855 pushed a commit that referenced this pull request Jul 31, 2025
fix: bad escape sequence
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.

2 participants