Ruff now groks requires-python
This commit is contained in:
parent
4a00822d4c
commit
ecd276dc8c
3 changed files with 2 additions and 4 deletions
|
|
@ -45,7 +45,6 @@ Home = "https://github.com/sbidoul/runboat"
|
|||
|
||||
[tool.ruff]
|
||||
fix = true
|
||||
target-version = "py310"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ class BuildEventSource:
|
|||
while True:
|
||||
try:
|
||||
event = await asyncio.wait_for(self.queue.get(), timeout=10)
|
||||
except asyncio.TimeoutError:
|
||||
except TimeoutError:
|
||||
pass
|
||||
else:
|
||||
yield event
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ from contextlib import contextmanager
|
|||
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
|
||||
|
|
@ -18,7 +18,6 @@ from kubernetes.client.exceptions import ApiException
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue