mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-23 01:57:48 -06:00
refactor: read sourceref names from their module
profile_sync re-exported the source_ref grammar for its callers and tests. Each of them imports it from model.sourceref now, and profile_sync keeps a plain import of what it uses.
This commit is contained in:
1 parent
e1f2f8685d
commit
eea24c68ca
4 files changed
+32
-50
No files matched your search
+11
-29
@@ -43,35 +43,17 @@ from resolve.cores import resolve_platform_cores
|
||||
from core.cli import suggest_names
|
||||
from core.hashing import parse_hash_list
|
||||
from model.sourceref import (
|
||||
_ANNOTATION_RE as _ANNOTATION_RE,
|
||||
_BARE_RANGE_RE as _BARE_RANGE_RE,
|
||||
_LOCATED_RE as _LOCATED_RE,
|
||||
_PROJECT_WORD_RE as _PROJECT_WORD_RE,
|
||||
_PROSE_LIST_DELIMITERS as _PROSE_LIST_DELIMITERS,
|
||||
_REF_RE as _REF_RE,
|
||||
_SPLIT_RE as _SPLIT_RE,
|
||||
_BINARY_SUFFIXES as _BINARY_SUFFIXES,
|
||||
_HEX_ADDRESS_RE as _HEX_ADDRESS_RE,
|
||||
PROSE_CITE_RE as PROSE_CITE_RE,
|
||||
PROSE_CONT_RE as PROSE_CONT_RE,
|
||||
PROSE_CONT_SPACED_RE as PROSE_CONT_SPACED_RE,
|
||||
PROSE_EXTENSIONLESS as PROSE_EXTENSIONLESS,
|
||||
PROSE_LINKING_WORDS as PROSE_LINKING_WORDS,
|
||||
PROSE_LIST_ITEM_RE as PROSE_LIST_ITEM_RE,
|
||||
PROSE_WRAPPED_RANGE_RE as PROSE_WRAPPED_RANGE_RE,
|
||||
REPO_ROLES as REPO_ROLES,
|
||||
RefPart as RefPart,
|
||||
_prose_external as _prose_external,
|
||||
_prose_runs as _prose_runs,
|
||||
_trim_prose as _trim_prose,
|
||||
is_binary_citation as is_binary_citation,
|
||||
parse_source_ref as parse_source_ref,
|
||||
ref_prose_text as ref_prose_text,
|
||||
ref_role as ref_role,
|
||||
resolve_project_word as resolve_project_word,
|
||||
source_ref_values as source_ref_values,
|
||||
split_outside_parentheses as split_outside_parentheses,
|
||||
split_source_ref as split_source_ref,
|
||||
_ANNOTATION_RE,
|
||||
RefPart,
|
||||
_prose_runs,
|
||||
_trim_prose,
|
||||
is_binary_citation,
|
||||
ref_prose_text,
|
||||
ref_role,
|
||||
resolve_project_word,
|
||||
source_ref_values,
|
||||
split_outside_parentheses,
|
||||
split_source_ref,
|
||||
)
|
||||
from core.upstream import CompareResult, find_renamed
|
||||
|
||||
|
||||
Reference in new issue
Block a user