Skip to content

Add secret language encoding and decoding algorithm #18230

Add secret language encoding and decoding algorithm

Add secret language encoding and decoding algorithm #18230

Triggered via pull request June 21, 2026 14:52
Status Failure
Total duration 9s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
ruff
Process completed with exit code 1.
ruff (SIM108): strings/Secret_language.py#L49
strings/Secret_language.py:49:5: SIM108 Use ternary operator `code = code[-1] + code[:-1] if len(code) >= 3 else code[::-1]` instead of `if`-`else`-block help: Replace `if`-`else`-block with `code = code[-1] + code[:-1] if len(code) >= 3 else code[::-1]`
ruff (E501): strings/Secret_language.py#L44
strings/Secret_language.py:44:89: E501 Line too long (96 > 88)
ruff (E501): strings/Secret_language.py#L26
strings/Secret_language.py:26:89: E501 Line too long (122 > 88)
ruff (N999): strings/Secret_language.py#L1
strings/Secret_language.py:1:1: N999 Invalid module name: 'Secret_language'