diff options
| author | 2021-08-07 05:23:03 +0300 | |
|---|---|---|
| committer | 2021-08-31 13:08:51 -0700 | |
| commit | 745cd1d6d3d6227d2a1e82cf25611d76221c40cd (patch) | |
| tree | 6d653668fe1bbfd237b4c87890e0c67a36e2c7f5 /bot/constants.py | |
| parent | Merge pull request #835 from python-discord/discord-2.0 (diff) | |
Fix type annotations
Diffstat (limited to 'bot/constants.py')
| -rw-r--r-- | bot/constants.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/bot/constants.py b/bot/constants.py index 2730106b..2313bfdb 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -3,7 +3,7 @@ import enum  import logging  from datetime import datetime  from os import environ -from typing import Dict, NamedTuple +from typing import NamedTuple  __all__ = (      "AdventOfCode", @@ -56,7 +56,7 @@ class AdventOfCodeLeaderboard:          return self._session -def _parse_aoc_leaderboard_env() -> Dict[str, AdventOfCodeLeaderboard]: +def _parse_aoc_leaderboard_env() -> dict[str, AdventOfCodeLeaderboard]:      """      Parse the environment variable containing leaderboard information. | 
