Add pyright strict mode on the whole project (#1254)
This commit is contained in:
parent
ef4e167c1a
commit
c7671e470c
1 changed files with 652 additions and 674 deletions
|
|
@ -29,7 +29,7 @@ def get_github_url(file_path: str) -> str:
|
|||
return f"{base_url}/{file_path}"
|
||||
|
||||
|
||||
def process_snippet_block(match: re.Match, check_mode: bool = False) -> str:
|
||||
def process_snippet_block(match: re.Match[str], check_mode: bool = False) -> str:
|
||||
"""Process a single snippet-source block.
|
||||
|
||||
Args:
|
||||
|
|
|
|||
Loading…
Reference in a new issue