Skip to content

Commit

Permalink
Update devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
nbogojevic committed Jan 25, 2024
1 parent 56fb32c commit 5cbcafb
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
{
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.10-bullseye",
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.11-bullseye",
"name": "Midea Air Appliance (LAN) integration development",
"forwardPorts": [
8123
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/stalebot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
days-before-stale: 60
days-before-close: 7
7 changes: 6 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
git+https://github.com/home-assistant/home-assistant.git@dev
black==23.11.0
packaging==23.2
pre-commit~=3.5
PyGithub~=2.1
pyupgrade~=3.15
yamllint~=1.33
1 change: 1 addition & 0 deletions requirements-ha-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
git+https://github.com/home-assistant/home-assistant.git@dev
12 changes: 11 additions & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
-r requirements-dev.txt
pytest-homeassistant-custom-component~=0.9.3
asynctest~=0.13
flake8~=6.1
flake8-docstrings~=1.7
mypy==1.7.0
pylint~=3.0
pylint-strict-informational==0.1
pytest>=7.2
pytest-cov>=3.0
pytest-homeassistant-custom-component>=0.12
tzdata
ruff~=0.1
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pip>=21.0,<23.1
pip>=21.0,<23.4
colorlog
homeassistant
homeassistant>=2023.7.0

0 comments on commit 5cbcafb

Please sign in to comment.