-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
116 additions
and
106 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,65 @@ | ||
{ | ||
"image": "mcr.microsoft.com/vscode/devcontainers/python", | ||
"name": "NOAA Space Weather integration development", | ||
"postCreateCommand": "scripts/setup", | ||
"postStartCommand": "hass --config /workspaces/home-assistant_noaa-space-weather/config/", | ||
"forwardPorts": [ | ||
8123 | ||
], | ||
"portsAttributes": { | ||
"8123": { | ||
"label": "Home Assistant" | ||
}, | ||
"0-8122": { | ||
"label": "Auto-Forwarded - Other", | ||
"onAutoForward": "ignore" | ||
}, | ||
"8124-999999": { | ||
"label": "Auto-Forwarded - Other", | ||
"onAutoForward": "ignore" | ||
} | ||
"image": "mcr.microsoft.com/vscode/devcontainers/python:3.12", | ||
"name": "NOAA Space Weather integration development", | ||
"postCreateCommand": "scripts/setup", | ||
"postStartCommand": "hass --config /workspaces/home-assistant_noaa-space-weather/config/", | ||
"forwardPorts": [8123], | ||
"portsAttributes": { | ||
"8123": { | ||
"label": "Home Assistant" | ||
}, | ||
"customizations": { | ||
"extensions": [ | ||
"ms-python.python", | ||
"github.vscode-pull-request-github", | ||
"ryanluker.vscode-coverage-gutters", | ||
"ms-python.vscode-pylance" | ||
], | ||
"vscode": { | ||
"settings": { | ||
"python.defaultInterpreterPath": "/usr/local/bin/python", | ||
"python.linting.enabled": true, | ||
"python.linting.pylintEnabled": true, | ||
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", | ||
"python.formatting.blackPath": "/usr/local/py-utils/bin/black", | ||
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", | ||
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit", | ||
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", | ||
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", | ||
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", | ||
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", | ||
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint", | ||
"files.eol": "\n", | ||
"editor.tabSize": 4, | ||
"python.pythonPath": "/usr/local/python/bin/python", | ||
"python.analysis.autoSearchPaths": false, | ||
"python.linting.pylintArgs": [ | ||
"--disable", | ||
"import-error" | ||
], | ||
"python.formatting.provider": "black", | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"editor.formatOnType": true, | ||
"files.trimTrailingWhitespace": true | ||
}, | ||
"extensions": [ | ||
"github.vscode-pull-request-github", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"ms-vscode.makefile-tools", | ||
"ryanluker.vscode-coverage-gutters" | ||
] | ||
} | ||
"0-8122": { | ||
"label": "Auto-Forwarded - Other", | ||
"onAutoForward": "ignore" | ||
}, | ||
"remoteUser": "vscode", | ||
"features": { | ||
"rust": "latest" | ||
"8124-999999": { | ||
"label": "Auto-Forwarded - Other", | ||
"onAutoForward": "ignore" | ||
} | ||
}, | ||
"customizations": { | ||
"extensions": [ | ||
"ms-python.python", | ||
"github.vscode-pull-request-github", | ||
"ryanluker.vscode-coverage-gutters", | ||
"ms-python.vscode-pylance" | ||
], | ||
"vscode": { | ||
"settings": { | ||
"python.defaultInterpreterPath": "/usr/local/bin/python", | ||
"python.linting.enabled": true, | ||
"python.linting.pylintEnabled": true, | ||
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8", | ||
"python.formatting.blackPath": "/usr/local/py-utils/bin/black", | ||
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf", | ||
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit", | ||
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8", | ||
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy", | ||
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle", | ||
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle", | ||
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint", | ||
"files.eol": "\n", | ||
"editor.tabSize": 4, | ||
"python.pythonPath": "/usr/local/python/bin/python", | ||
"python.analysis.autoSearchPaths": false, | ||
"python.linting.pylintArgs": ["--disable", "import-error"], | ||
"python.formatting.provider": "black", | ||
"editor.formatOnPaste": false, | ||
"editor.formatOnSave": true, | ||
"editor.formatOnType": true, | ||
"files.trimTrailingWhitespace": true | ||
}, | ||
"extensions": [ | ||
"github.vscode-pull-request-github", | ||
"ms-python.python", | ||
"ms-python.vscode-pylance", | ||
"ms-vscode.makefile-tools", | ||
"ryanluker.vscode-coverage-gutters" | ||
] | ||
} | ||
}, | ||
"remoteUser": "vscode", | ||
"features": { | ||
"rust": "latest" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -15,4 +15,4 @@ jobs: | |
- name: HACS validation | ||
uses: "hacs/action@main" | ||
with: | ||
category: "integration" | ||
category: "integration" |
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
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,4 +1,5 @@ | ||
"""Sample API Client.""" | ||
|
||
import logging | ||
|
||
import aiohttp | ||
|
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
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,16 +1,12 @@ | ||
{ | ||
"domain": "noaa_space_weather", | ||
"name": "NOAA Space Weather", | ||
"codeowners": [ | ||
"@tcarwash" | ||
], | ||
"codeowners": ["@tcarwash"], | ||
"config_flow": true, | ||
"dependencies": [], | ||
"documentation": "https://github.com/tcarwash/home-assistant_noaa-space-weather", | ||
"iot_class": "cloud_polling", | ||
"issue_tracker": "https://github.com/tcarwash/home-assistant_noaa-space-weather/issues", | ||
"requirements": [ | ||
"swpclib>=4.2.0" | ||
], | ||
"requirements": ["swpclib>=4.2.0"], | ||
"version": "2.0.1" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
-r requirements_dev.txt | ||
pytest-homeassistant-custom-component==0.11.26 | ||
pytest-homeassistant-custom-component==0.13.113 |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
cd "$(dirname "$0")/../.." | ||
|
||
ls | ||
|
||
python -m pip install -r requirements_test.txt |
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 |
---|---|---|
|
@@ -7,4 +7,3 @@ python3 -m pip \ | |
--upgrade \ | ||
--disable-pip-version-check \ | ||
"${@}" | ||
|
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,4 +1,5 @@ | ||
"""Global fixtures for NOAA Space Weather integration.""" | ||
|
||
from unittest.mock import patch | ||
|
||
import pytest | ||
|
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,4 +1,5 @@ | ||
"""Test NOAA Space Weather config flow.""" | ||
|
||
from unittest.mock import patch | ||
|
||
import pytest | ||
|
Oops, something went wrong.