Skip to content

Commit

Permalink
autofixed pre-commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wmalgadey committed Dec 21, 2024
1 parent e5dd148 commit ffb36d1
Show file tree
Hide file tree
Showing 29 changed files with 36 additions and 36 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint-and-test-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e '.[all]'
- name: Lint with black
uses: psf/black@stable
with:
Expand All @@ -51,7 +51,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -68,4 +68,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: coverage-html-report-${{ matrix.python-version }}
path: coverage_html_report
path: coverage_html_report
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
#.idea/
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ repos:
hooks:
- id: mypy
exclude: tests/
additional_dependencies: [types-requests]
additional_dependencies: [types-requests]
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"github.vscode-github-actions",
"ms-python.pylint"
]
}
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"ansible.python.interpreterPath": "/Volumes/Daten/Projects/PyTado/.venv/bin/python"
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/ac_issue_32294.heat_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
"celsius": 25.0
}
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/home_1234/my_api_v2_me.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/home_1234/tadov2.my_api_v2_home_state.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
"isEnergyIqEligible": true,
"isHeatSourceInstalled": false,
"isHeatPumpInstalled": false
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/home_1234/tadox.heating.auto_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
"start": "2024-12-19T21:00:00Z"
},
"balanceControl": null
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/home_1234/tadox.heating.manual_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
"start": "2024-12-19T21:00:00Z"
},
"balanceControl": null
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/home_1234/tadox.heating.manual_off.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
"start": "2024-12-19T21:00:00Z"
},
"balanceControl": null
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/home_1234/tadox.hops_homes.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"isHeatSourceInstalled": false,
"isHeatPumpInstalled": false,
"supportsFlowTemperatureOptimization": false
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/home_1234/tadox.my_api_v2_home_state.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"isEnergyIqEligible": true,
"isHeatSourceInstalled": false,
"isHeatPumpInstalled": false
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/my_api_issue_88.termination_condition.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@
"type": "TIMER",
"durationInSeconds": 1300
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/running_times.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@
"startTime": "2023-08-01 00:00:00",
"totalRunningTimeInSeconds": 120
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/smartac3.auto_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
"mode": "AUTO",
"power": "ON"
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/smartac3.cool_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@
"celsius": 17.78
}
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/smartac3.dry_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
"mode": "DRY",
"power": "ON"
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/smartac3.fan_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@
"mode": "FAN",
"power": "ON"
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/smartac3.heat_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@
"celsius": 16.11
}
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/smartac3.manual_off.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@
"type": "AIR_CONDITIONING",
"power": "OFF"
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/smartac3.smart_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
"celsius": 20.0
}
}
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/tadov2.heating.off_mode.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@
"timestamp": "2020-03-10T07:44:11.947Z"
}
}
}
}
4 changes: 2 additions & 2 deletions tests/fixtures/tadov2.home_state.auto_not_supported.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presence": "HOME",
"presence": "HOME",
"presenceLocked": true
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presence": "HOME",
"presence": "HOME",
"presenceLocked": false
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"presence": "HOME",
"presenceLocked": true,
"presence": "HOME",
"presenceLocked": true,
"showSwitchToAutoGeofencingButton": true
}
}
2 changes: 1 addition & 1 deletion tests/fixtures/tadox/hops_tado_homes_features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"geofencing",
"openWindowDetection"
]
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"isDomesticHotWaterCapable": false,
"domesticHotWaterInterface": "NONE"
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"zones": []
}
}

0 comments on commit ffb36d1

Please sign in to comment.