Ruff
This commit is contained in:
parent
d71db727d5
commit
10f71be39b
|
@ -211,8 +211,9 @@ RE_ID = r'@?([^\s/]+)'
|
|||
RE_DUAL_ID = r'@?([^\s/]+/[^\s/]+)'
|
||||
RE_ANY_SUBPATH = r'(|\/|\/\S*)$'
|
||||
|
||||
SPECIAL_REGEX_LITERALS = frozenset({RE_ID, RE_DUAL_ID, RE_ANY_SUBPATH,
|
||||
RE_ID_AT, RE_ID_NOAT})
|
||||
SPECIAL_REGEX_LITERALS = frozenset(
|
||||
{RE_ID, RE_DUAL_ID, RE_ANY_SUBPATH, RE_ID_AT, RE_ID_NOAT},
|
||||
)
|
||||
REGEX_LITERALS_TO_FORMATTER = {
|
||||
RE_ID: '{id}',
|
||||
RE_ID_AT: '@{id}',
|
||||
|
|
Loading…
Reference in New Issue
Block a user