Skip to content

Commit cdd5195

Browse files
committed
fix: linting error
1 parent 096cd4f commit cdd5195

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ include vars.mk
44

55
.PHONY: build clean cov default dev docker-deps docs ensure-uv fmt fix install it lint test uninstall version help
66

7+
$(UV_LOCK): dev
8+
$(UV) lock
9+
710
all: dev test lint build
811

912
build: dev
@@ -30,7 +33,7 @@ cov-xml: dev
3033
$(UV) run coverage xml
3134

3235
dev: ensure-uv
33-
$(UV) pip install -e .
36+
$(UV) pip install --upgrade -e .
3437

3538
docker-deps: ensure-uv
3639
# Sync given the `uv.lock` file
@@ -59,8 +62,6 @@ fmt: dev
5962
install: build
6063
$(UV) pip install dist/*.whl
6164

62-
$(UV_LOCK): dev
63-
$(UV) lock
6465
it: $(UV_LOCK)
6566
$(MAKE) -C ./integration
6667

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ classifiers = [
1919
"Typing :: Typed",
2020
]
2121
dynamic = ["version"]
22-
dependencies = ["requests>=2.31.0,<3", "packaging", "typing-extensions"]
22+
dependencies = [
23+
"requests>=2.31.0,<3",
24+
"packaging",
25+
"typing-extensions",
26+
]
2327

2428
[project.urls]
2529
Source = "https://github.com/posit-dev/posit-sdk-py"

src/posit/connect/system.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ def destroy(
201201
version: str,
202202
image_name: str,
203203
dry_run: Literal[False] = False,
204-
) -> Task: ...
204+
) -> Task | None: ...
205+
205206
@overload
206207
def destroy(
207208
self,
@@ -211,7 +212,7 @@ def destroy(
211212
version: str,
212213
image_name: str,
213214
dry_run: Literal[True] = True,
214-
) -> None: ...
215+
) -> Task | None: ...
215216

216217
def destroy(
217218
self,

0 commit comments

Comments
 (0)