Skip to content

Commit 83cf73f

Browse files
committed
fix lints
1 parent 7a01d06 commit 83cf73f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
fail-fast: false
126126
matrix:
127127
os: [ubuntu-latest]
128-
python-version: ["3.9"]
128+
python-version: ["3.10"]
129129
steps:
130130
- name: Checkout
131131
uses: actions/checkout@v4
@@ -156,7 +156,7 @@ jobs:
156156
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
157157
with:
158158
dependency_type: minimum
159-
python_version: "3.9"
159+
python_version: "3.10"
160160

161161
- name: List installed packages
162162
run: |

.github/workflows/downstream.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
- name: Setup Python
9696
uses: actions/setup-python@v5
9797
with:
98-
python-version: "3.9"
98+
python-version: "3.10"
9999
architecture: "x64"
100100
- name: Install System Packages
101101
run: |
@@ -127,7 +127,7 @@ jobs:
127127
- name: Setup Python
128128
uses: actions/setup-python@v5
129129
with:
130-
python-version: "3.9"
130+
python-version: "3.10"
131131
architecture: "x64"
132132
- name: Install System Packages
133133
run: |

ipykernel/jsonutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def json_clean(obj): # pragma: no cover
156156
for k, v in obj.items():
157157
out[str(k)] = json_clean(v)
158158
return out
159-
if isinstance(obj, (datetime, date)):
159+
if isinstance(obj, datetime | date):
160160
return obj.strftime(ISO8601)
161161

162162
# we don't understand it, it's probably an unserializable object

0 commit comments

Comments
 (0)