mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
* ⬆️ auto update by pre-commit hooks updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.8.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.3...v0.8.1) * 🚨 auto fix by pre-commit hooks * 🚨 fix ruff --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: shoucandanghehe <wallfjjd@gmail.com>
11 lines
214 B
Python
11 lines
214 B
Python
from re import compile # noqa: A004
|
|
from typing import Literal
|
|
|
|
from yarl import URL
|
|
|
|
GAME_TYPE: Literal['TOP'] = 'TOP'
|
|
|
|
BASE_URL = URL('http://tetrisonline.pl/top/')
|
|
|
|
USER_NAME = compile(r'^[a-zA-Z0-9_]{1,16}$')
|