mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-05-27 14:09:57 -07:00
CI: strict mypy check in github actions
mypy_files.txt is a list of files that will fail the CI if mypy finds errors in them
This commit is contained in:
@@ -64,7 +64,7 @@ class SuffixIdentifier:
|
||||
def __init__(self, *args: str):
|
||||
self.suffixes = args
|
||||
|
||||
def __call__(self, path: str):
|
||||
def __call__(self, path: str) -> bool:
|
||||
if isinstance(path, str):
|
||||
for suffix in self.suffixes:
|
||||
if path.endswith(suffix):
|
||||
|
||||
Reference in New Issue
Block a user