Skip to content

SyntaxWarning emitted during compile #399

Description

@FoamyGuy

When an adabot command is run the first time (requiring python to compile it just before running) it emitts this warning:

/adabot/adabot/circuitpython_bundle.py:184: SyntaxWarning: invalid escape sequence '\('
  docs_name = f" \([Docs]({docs_link}))"  # pylint: disable=anomalous-backslash-in-string

pointing to here: https://github.com/adafruit/adabot/blob/main/adabot/circuitpython_bundle.py#L184

Interestingly we already have a pylint ignore about the slash too.

At some point in may turn into a SyntaxError instead of warning so it seems worth trying to fix I think

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions