fix(ci): fix ruff lint
This commit is contained in:
parent
db391da52c
commit
3b768cc6c4
3 changed files with 19 additions and 9 deletions
|
|
@ -42,6 +42,16 @@ _REGISTRY_FUNCTIONS = [
|
|||
|
||||
__all__ = _BASE_EXPORTS + _SCRAPER_CLASSES + _REGISTRY_FUNCTIONS
|
||||
|
||||
_exported_types = (
|
||||
ScraperConfig,
|
||||
ContestListResult,
|
||||
ContestSummary,
|
||||
MetadataResult,
|
||||
ProblemSummary,
|
||||
TestCase,
|
||||
TestsResult,
|
||||
)
|
||||
|
||||
|
||||
def get_scraper(platform: str) -> type[BaseScraper]:
|
||||
if platform not in ALL_SCRAPERS:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue