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]
|
[tool.ruff]
|
||||||
fix = true
|
fix = true
|
||||||
target-version = "py310"
|
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
select = [
|
select = [
|
||||||
|
|
|
||||||
|
|
@ -237,7 +237,7 @@ class BuildEventSource:
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
event = await asyncio.wait_for(self.queue.get(), timeout=10)
|
event = await asyncio.wait_for(self.queue.get(), timeout=10)
|
||||||
except asyncio.TimeoutError:
|
except TimeoutError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
yield event
|
yield event
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ from contextlib import contextmanager
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from importlib import resources
|
from importlib import resources
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any, TypedDict, cast
|
from typing import Any, NotRequired, TypedDict, cast
|
||||||
|
|
||||||
import urllib3
|
import urllib3
|
||||||
from jinja2 import Template
|
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_deployment import V1Deployment
|
||||||
from kubernetes.client.models.v1_job import V1Job
|
from kubernetes.client.models.v1_job import V1Job
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
from typing_extensions import NotRequired
|
|
||||||
|
|
||||||
from .github import CommitInfo
|
from .github import CommitInfo
|
||||||
from .settings import BuildSettings, settings
|
from .settings import BuildSettings, settings
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue