Skip to content

Commit 4c6e244

Browse files
committed
remove type annotation of _escape
1 parent f2b1410 commit 4c6e244

File tree

1 file changed

+1
-1
lines changed
  • pytest_github_actions_annotate_failures

1 file changed

+1
-1
lines changed

pytest_github_actions_annotate_failures/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ def _error_workflow_command(filesystempath, lineno, longrepr):
3434
longrepr = _escape(longrepr)
3535
return '\n::error file={},line={}::{}'.format(filesystempath, lineno, longrepr)
3636

37-
def _escape(s: str):
37+
def _escape(s):
3838
return s.replace('%', '%25').replace('\r', '%0D').replace('\n', '%0A')

0 commit comments

Comments
 (0)