-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Generate both daily and hourly forecast. The hourly forecast option has been removed.
- Loading branch information
Showing
23 changed files
with
250 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
# General files | ||
.git | ||
.github | ||
config | ||
docs | ||
|
||
# Development | ||
.devcontainer | ||
|
||
# Test related files | ||
tests | ||
|
||
# Other virtualization methods | ||
venv | ||
.vagrant | ||
|
||
# Temporary files | ||
**/__pycache__ | ||
.vscode | ||
**/__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
* text=lf | ||
*.py whitespace=error | ||
# Ensure Docker script files uses LF to support Docker for Windows. | ||
# Ensure "git config --global core.autocrlf input" before you clone | ||
* text eol=lf | ||
*.py whitespace=error | ||
|
||
*.ico binary | ||
*.jpg binary | ||
*.png binary | ||
*.zip binary | ||
*.mp3 binary | ||
*.pcm binary | ||
|
||
Dockerfile.dev linguist-language=Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,5 @@ share/* | |
/.dmypy.json | ||
|
||
# These come from the image | ||
setup.cfg | ||
pyproject.toml | ||
pylint/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"charliermarsh.ruff", | ||
"esbenp.prettier-vscode", | ||
"ms-python.python" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Home Assistant", | ||
"type": "python", | ||
"request": "launch", | ||
"module": "homeassistant", | ||
"justMyCode": false, | ||
"args": [ | ||
"--debug", | ||
"-c", | ||
"/config" | ||
], | ||
"serverReadyAction": { | ||
"action": "openExternally" | ||
}, | ||
"console": "integratedTerminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
// Please keep this file in sync with settings in home-assistant/.devcontainer/devcontainer.json | ||
"python.formatting.provider": "black", | ||
// Added --no-cov to work around TypeError: message must be set | ||
// https://github.com/microsoft/vscode-python/issues/14067 | ||
"python.testing.pytestArgs": ["--no-cov"], | ||
// https://code.visualstudio.com/docs/python/testing#_pytest-configuration-settings | ||
"python.testing.pytestEnabled": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Pytest", | ||
"type": "shell", | ||
"command": "pytest --timeout=10 tests", | ||
"dependsOn": [ | ||
"Install all Test Requirements" | ||
], | ||
"group": { | ||
"kind": "test", | ||
"isDefault": true | ||
}, | ||
"presentation": { | ||
"reveal": "always", | ||
"panel": "new" | ||
}, | ||
"problemMatcher": [] | ||
}, | ||
{ | ||
"label": "Pylint", | ||
"type": "shell", | ||
"command": "pylint custom_components", | ||
"dependsOn": [], | ||
"group": { | ||
"kind": "test", | ||
"isDefault": true | ||
}, | ||
"presentation": { | ||
"reveal": "always", | ||
"panel": "new" | ||
}, | ||
"problemMatcher": [] | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.