Skip to content

Commit

Permalink
Ruff now groks requires-python
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jun 30, 2024
1 parent 4a00822 commit ecd276d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ Home = "https://github.com/sbidoul/runboat"

[tool.ruff]
fix = true
target-version = "py310"

[tool.ruff.lint]
select = [
Expand Down
2 changes: 1 addition & 1 deletion src/runboat/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ async def events(self) -> AsyncGenerator[str, None]:
while True:
try:
event = await asyncio.wait_for(self.queue.get(), timeout=10)
except asyncio.TimeoutError:
except TimeoutError:
pass
else:
yield event
Expand Down
3 changes: 1 addition & 2 deletions src/runboat/k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from enum import Enum
from importlib import resources
from pathlib import Path
from typing import Any, TypedDict, cast
from typing import Any, NotRequired, TypedDict, cast

import urllib3
from jinja2 import Template
Expand All @@ -18,7 +18,6 @@
from kubernetes.client.models.v1_deployment import V1Deployment
from kubernetes.client.models.v1_job import V1Job
from pydantic import BaseModel
from typing_extensions import NotRequired

from .github import CommitInfo
from .settings import BuildSettings, settings
Expand Down

0 comments on commit ecd276d

Please sign in to comment.