-
Notifications
You must be signed in to change notification settings - Fork 675
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
23 changed files
with
802 additions
and
232 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
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,3 @@ | ||
{ | ||
"recommendations": ["ms-python.python", "ms-python.vscode-pylance"] | ||
} |
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,8 @@ | ||
{ | ||
"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
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,17 +1,14 @@ | ||
# Home Assistant test | ||
# linters such as flake8 and pylint should be pinned, as new releases | ||
# make new things fail. Manually update these pins when pulling in a | ||
# new version | ||
asynctest==0.13.0 | ||
codecov==2.1.10 | ||
coveralls==2.2.0 | ||
mock-open==1.4.0 | ||
mypy==0.790 | ||
pre-commit==2.9.2 | ||
pylint==2.6.0 | ||
pytest-aiohttp==0.3.0 | ||
pytest-cov==2.10.1 | ||
pytest-sugar==0.9.4 | ||
pytest-timeout==1.4.2 | ||
pytest==6.1.2 | ||
requests_mock==1.8.0 | ||
asynctest | ||
isort | ||
codecov | ||
colorlog | ||
codespell | ||
coveralls | ||
mypy==0.942 | ||
pre-commit | ||
pylint | ||
pytest-cov | ||
pytest-sugar | ||
pytest-timeout | ||
pytest | ||
zigpy |
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,23 @@ | ||
#!/usr/bin/env bash | ||
# Setup the repository. | ||
|
||
# Stop on errors | ||
set -e | ||
|
||
cd "$(dirname "$0")/.." | ||
|
||
# Add default vscode settings if not existing | ||
SETTINGS_FILE=./.vscode/settings.json | ||
SETTINGS_TEMPLATE_FILE=./.vscode/settings.default.json | ||
if [ ! -f "$SETTINGS_FILE" ]; then | ||
echo "Copy $SETTINGS_TEMPLATE_FILE to $SETTINGS_FILE." | ||
cp "$SETTINGS_TEMPLATE_FILE" "$SETTINGS_FILE" | ||
fi | ||
|
||
python3 -m venv venv | ||
source venv/bin/activate | ||
|
||
pip install -r requirements_test_all.txt | ||
pre-commit install | ||
|
||
python3 -m pip install -e . |
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
|
||
from setuptools import find_packages, setup | ||
|
||
VERSION = "0.0.72" | ||
VERSION = "0.0.73" | ||
|
||
|
||
setup( | ||
|
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.