Skip to content

Python wrong SyntaxError: invalid syntax #21

@Olegt0rr

Description

@Olegt0rr

Something wrong with your python syntax checker:

Type hints

File "./yt.py", line 15
  _tracker: Optional[YaTracker] = None
          ^

async

File "./tests/test_game.py", line 70
  async def game_on_registration(monkeypatch, one_group):
      ^

single quotes?

File "./antiflood.py", line 15
  logger = logging.getLogger(f'mafia.{__name__}')
                                               ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions