diff options
| author | 2019-09-14 01:09:53 +0800 | |
|---|---|---|
| committer | 2019-09-14 01:09:53 +0800 | |
| commit | e1dab123fc77986b09dc622457886635eb26d4ab (patch) | |
| tree | bf38f7863925b393326edf4dc04453508e545a2b /bot/__init__.py | |
| parent | Merge pull request #269 from python-discord/hacktoberfest-update (diff) | |
| parent | Fix incorrect merge conflict resolutions, lint remaining items (diff) | |
Merge pull request #270 from python-discord/flake8-annotations
Add Flake8 annotations
Diffstat (limited to 'bot/__init__.py')
| -rw-r--r-- | bot/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/__init__.py b/bot/__init__.py index 9e0290a7..4729e50c 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -13,7 +13,7 @@ logging.TRACE = 5 logging.addLevelName(logging.TRACE, "TRACE") -def monkeypatch_trace(self, msg, *args, **kwargs): +def monkeypatch_trace(self: logging.Logger, msg: str, *args, **kwargs) -> None: """ Log 'msg % args' with severity 'TRACE'. |