diff --git a/pyproject.toml b/pyproject.toml index d8afd1e..ea6b016 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,14 @@ mkautodoc = "^0.1.0" [tool.black] line-length = 88 +[tool.isort] +multi_line_output = 3 +include_trailing_comma = true +force_grid_wrap = 0 +use_parentheses = true +ensure_newline_before_comments = true +line_length = 88 + [build-system] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api" diff --git a/slowapi/extension.py b/slowapi/extension.py index c9b8e56..ebfad07 100644 --- a/slowapi/extension.py +++ b/slowapi/extension.py @@ -13,8 +13,19 @@ import time import warnings from email.utils import formatdate, parsedate_to_datetime from functools import wraps -from typing import (Any, Awaitable, Callable, Dict, List, Optional, Set, Tuple, - Type, TypeVar, Union) +from typing import ( + Any, + Awaitable, + Callable, + Dict, + List, + Optional, + Set, + Tuple, + Type, + TypeVar, + Union, +) from limits import RateLimitItem # type: ignore from limits.errors import ConfigurationError # type: ignore