This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- empty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # ruff: noqa: E501 | |
| """ | |
| Given a regular expression pattern containing certain named capture groups, | |
| print a line to stdout for each match found in `infile`. The printed messages | |
| is in a format that will annotate code in a GitHub pull request. | |
| See the source code of this program for usage examples. | |
| See GitHub command reference for more information. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import asyncio | |
| from functools import wraps | |
| from typing import Any | |
| from collections.abc import Awaitable | |
| def await_at_least(fn: Awaitable[Any], *, seconds: int): | |
| """ | |
| Do not return from the decorated function until at least `seconds` | |
| have passed. |
OlderNewer