Skip to content

Commit

Permalink
Python 12 => 13
Browse files Browse the repository at this point in the history
  • Loading branch information
amitfin committed Dec 1, 2024
1 parent c836c3b commit c88df23
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "daily_schedule",
"image": "mcr.microsoft.com/devcontainers/python:3.12",
"image": "mcr.microsoft.com/devcontainers/python:dev-3.13",
"postCreateCommand": "scripts/setup",
"forwardPorts": [
8123
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: "Set up Python"
uses: actions/[email protected]
with:
python-version: "3.12"
python-version: "3.13"
cache: "pip"

- name: "Install requirements"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: "Set up Python"
uses: actions/[email protected]
with:
python-version: "3.12"
python-version: "3.13"
cache: "pip"

- name: "Install requirements"
Expand Down
3 changes: 1 addition & 2 deletions .ruff.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# The contents of this file is based on https://github.com/home-assistant/core/blob/dev/pyproject.toml

target-version = "py312"
target-version = "py313"

[lint]
select = [
"ALL",
]

ignore = [
"ANN101", # Missing type annotation for `self` in method
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
"D203", # no-blank-line-before-class (incompatible with formatter)
"D212", # multi-line-summary-first-line (incompatible with formatter)
Expand Down

0 comments on commit c88df23

Please sign in to comment.