1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-15 07:36:16 +00:00
Commit Graph

51 Commits

Author SHA1 Message Date
Martin Hjelmare
2c1693d50a Fix Generate requirements task (#160916) 2026-01-14 12:54:15 +01:00
Robert Resch
ea7e94bcc1 Replace pre-commit by prek (#160427) 2026-01-13 15:09:02 +01:00
Erik Montnemery
83f2c53e8c Disable pyright type checking in VS Code (#160528) 2026-01-12 20:19:19 +01:00
Robert Resch
d4a33611f0 Bump prettier to 3.6.2 (#155281) 2025-10-27 18:16:13 +01:00
Felipe Santos
c38e02072e Set Prettier as default formatter in VS Code for JSON and YAML (#154484) 2025-10-24 16:33:54 +02:00
Felipe Santos
4be428fce7 Set Pyright level as basic by default for VS Code (#154495) 2025-10-19 22:04:01 +02:00
Marc Mueller
ab7c7b8d89 Update ruff to 0.11.12 (#146037)
* Update ruff to 0.11.12
* Replace ruff legacy alias with ruff-check
2025-06-02 16:01:10 +02:00
Artur Pragacz
663a204c04 Fix Python path for vscode run core task (#141090)
Fix Python path for vscode launch core task
2025-03-23 12:01:35 -04:00
Abílio Costa
622be70fee Remove timeout from vscode test launch configuration (#139288) 2025-02-25 23:02:49 +01:00
proohit
9105542bab Add debug launch configuration for current open test file (#137177) 2025-02-21 00:32:17 +01:00
epenet
9e04f618b8 Adjust 'Install all test requirements' task to include base requirements (#137642) 2025-02-10 12:11:33 +00:00
Master-Guy
09e2168f72 Changed json.schemas.url for devcontainers (#135281) 2025-01-13 21:46:32 +01:00
Christopher Masto
ea9301aa9e Fix Visual Studio Code tasks to use selected Python interpreter (#132219) 2024-12-04 10:39:54 +01:00
dotvav
8fdd095dab Add pre-commit VSCode task (#131637) 2024-12-01 21:43:09 +01:00
Michael
b0b72326d8 Add Update syrupy snapshots VScode task (#131536)
* add Update syrupy snapshots task

* don't use xdist
2024-11-26 13:02:17 +01:00
Sid
5dd4b77270 Add JSON schema for manifest.json (#128560) 2024-10-26 02:10:58 +02:00
Thomas55555
67facdf3a5 Generate translation in vscode taks: Code Coverage (#120434)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-07-07 17:05:44 +02:00
Dave T
94d010a4c0 Fix vscode debug launch deprecation warning by swapping python to debugpy (#120866) 2024-07-05 14:49:41 +02:00
epenet
52bc006a72 Update default pylint.importStrategy in dev container (#119900) 2024-06-19 11:27:01 +02:00
Robert Resch
5e3483ac3c Use uv instead of pip in development env (#113517) 2024-05-21 09:56:31 +02:00
Robert Resch
edd7feaf10 Add task to install all requirements of an integration (#108262)
* Add task to install the requirements of an integration

* Gather recursive requirements

* Move valid_integration to util

* Apply suggestions from code review

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

* Implement suggestions

---------

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-01-18 22:11:02 +01:00
Aarni Koskela
706add4a57 Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Michael
0a3b20d8b2 Replace deprecated linting and formatting settings by extensions (#104050) 2023-11-16 23:10:33 +01:00
Ville Hartikainen
8e99760595 Add vscode task to run changed tests (#103501) 2023-11-08 11:33:19 +01:00
Ville Skyttä
f7aad4a9e6 Call pytest as python3 -m pytest (#101185) 2023-10-06 13:22:56 +02:00
Luke
2cc9fcc977 Add scaffolds to vscode tasks (#92015) 2023-05-21 21:29:33 +02:00
Franck Nijhof
cdbffee781 Remove legacy pip resolver (#92124)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-27 22:39:29 +02:00
Dave T
dedb3f8b6b Fix comment typos (#92021) 2023-04-25 21:04:36 +02:00
Franck Nijhof
b1a3bfb298 Drop flake8 in favor of Ruff (#89863) 2023-03-17 13:30:06 +01:00
Franck Nijhof
939eef3b28 Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
42c4f2f7fa Add ability for pytest to run only on changed tests in codebase (#86776) 2023-01-27 10:35:18 +01:00
Aarni Koskela
bf41a971a2 Introduce ruff (eventually replacing autoflake, pyupgrade, flake8) (#86224) 2023-01-24 12:15:16 +01:00
Michael
c2d8335cc5 Add "Home Assistant (skip pip)" to VS Code launch.json (#74887) 2022-07-10 23:06:27 +02:00
Franck Nijhof
da3024e162 Upgrade to newer Python pip>=21.0 (#59769) 2022-02-07 15:12:04 +01:00
Mick Vleeshouwer
22463fd296 Add 'compile translations' task to VSCode tasks (#64933) 2022-01-25 20:55:02 -08:00
epenet
7bee0e6423 Update "Code Coverage" task to use numprocesses (#61449)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 19:18:55 +01:00
Simone Chemelli
7e9ff26b4c Add slow tests list to VScode task code coverage (#60183) 2021-11-24 01:13:44 +01:00
Michael
29e604bd22 Add vscode task code coverage (#53783)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-08-05 11:46:21 +02:00
Simone Chemelli
b2528e97b6 Making Pytest default for VS code (#53203) 2021-07-22 09:30:54 -07:00
Paulus Schoutsen
2317b7343f Rename preview task to run (#52857) 2021-07-11 07:14:50 -07:00
Khole
8ce74e598d Allow debugging of integration dependancies (#49211) 2021-04-14 19:26:37 +02:00
Paulus Schoutsen
f1646f4ecc Disable pytest enabled in vscode default settings (#45317) 2021-01-19 10:25:02 +01:00
Oncleben31
bf253819dd Add additional debug launch methods in launch.json (#44419) 2020-12-21 17:11:53 +01:00
Martin Hjelmare
6daf40b254 Copy default vscode settings during bootstrap (#43180) 2020-11-13 16:03:40 +01:00
Paulus Schoutsen
a68d6a63bb Add VSCode debug launch conf (#43130) 2020-11-12 15:46:49 +01:00
Paulus Schoutsen
34c2579507 Constraints pt3 (#37803) 2020-07-13 15:55:20 +02:00
Franck Nijhof
f89c73d79d Recommend python & prettier vscode extensions (#33702) 2020-04-05 18:19:40 +02:00
Ville Skyttä
bb37bc32e3 Always run flake8 through pre-commit, and with doctests (#28490)
* Enable flake8 doctests everywhere

* Always run flake8 through pre-commit
2019-11-06 21:38:00 +02:00
Pascal Vizeli
702a524b55 Improve startup of devcontainer (#26572) 2019-09-11 11:20:21 +02:00
Franck Nijhof
9035efee10 Fixes invalid JSON files and whitespace corrections in YAML files (#26396) 2019-09-03 16:02:42 -07:00