SyntaxWarning for shell logo

Open Beginner friendly
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
88/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
cli

Research direction

Open faraday_cli/shell/shell.py at the referenced logo definition around line 45 and inspect the warning produced during setup. Make the logo string avoid the invalid escape warning, then rerun the faraday-cli setup that currently reports the SyntaxWarning and confirm the warning is gone.

Written by the indexing model from the issue text.

Description

https://github.com/infobyte/faraday-cli/blob/1b432e65457051ae5c7eef00abd16e0aec5fdf1a/faraday_cli/shell/shell.py#L45

Please use a raw string for the logo to fix the SyntaxWarning in the setup.

Setting up faraday-cli (2.2.2-0kali1)… /usr/lib/python3/dist-packages/faraday_cli/shell/shell.py:51: SyntaxWarning: "\_" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\_"? A raw string is also an option. /_/ \__,_/_/ \__,_/\__,_/\__,_/\__, / \____/_/_/

noqa doesn't make it go away ;-)

Dominant language
Python
Stars
52
Forks
21
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from infobyte/faraday-cli

All issues in infobyte/faraday-cli

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.