Skip to content

Commit

Permalink
Set correct target python version (3.9) for ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Apr 17, 2024
1 parent 8c64e91 commit 9617655
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
from locust.contrib.fasthttp import RestResponseContextManager
from locust.user.wait_time import constant

from collections.abc import Generator
from contextlib import contextmanager
from typing import Generator


class MyUser(FastHttpUser):
Expand Down
1 change: 0 additions & 1 deletion locust/user/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
TYPE_CHECKING,
Callable,
Protocol,
Type,
TypeVar,
final,
overload,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ license-files = ["LICENSE"]
include-package-data = false

[tool.ruff]
target-version = "py38"
target-version = "py39"
line-length = 120
extend-exclude = [
"build",
Expand Down

0 comments on commit 9617655

Please sign in to comment.