mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 11:18:00 +02:00
Copy default vscode settings during bootstrap (#43180)
This commit is contained in:
@ -6,6 +6,14 @@ 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
|
||||
|
||||
echo "Installing development dependencies..."
|
||||
python3 -m pip install wheel --constraint homeassistant/package_constraints.txt
|
||||
python3 -m pip install tox colorlog pre-commit $(grep mypy requirements_test.txt) $(grep stdlib-list requirements_test.txt) $(grep tqdm requirements_test.txt) $(grep pipdeptree requirements_test.txt) --constraint homeassistant/package_constraints.txt
|
||||
|
Reference in New Issue
Block a user