Skip to content

Commit 9525556

Browse files
committed
chore: bump dev environment to python 3.12
1 parent 979bf6a commit 9525556

File tree

6 files changed

+1562
-911
lines changed

6 files changed

+1562
-911
lines changed

.devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Tesla Custom Component",
3-
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.10-bullseye",
3+
"image": "mcr.microsoft.com/devcontainers/python:1-3.12",
44
"postCreateCommand": "sudo scripts/setup",
55
"appPort": ["9123:8123"],
66
"customizations": {

.github/workflows/pull.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
steps:
3737
- name: Check out code from GitHub
3838
uses: "actions/checkout@v2"
39-
- name: Set up Python 3.10
39+
- name: Set up Python 3.12
4040
uses: actions/setup-python@v2
4141
with:
42-
python-version: "3.10"
42+
python-version: "3.12"
4343
- name: Install Poetry
4444
uses: snok/install-poetry@v1
4545
with:

.github/workflows/push.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
steps:
4747
- name: Check out code from GitHub
4848
uses: "actions/checkout@v2"
49-
- name: Set up Python 3.10
49+
- name: Set up Python 3.12
5050
uses: actions/setup-python@v2
5151
with:
52-
python-version: "3.10"
52+
python-version: "3.12"
5353
- name: Install Poetry
5454
uses: snok/install-poetry@v1
5555
with:

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ repos:
7171
- id: prospector
7272
exclude: ^(tests)/.+\.py$
7373
- repo: https://github.com/PyCQA/bandit
74-
rev: 1.7.7
74+
rev: 1.7.8
7575
hooks:
7676
- id: bandit
7777
args:

0 commit comments

Comments
 (0)