Commit Graph
120 Commits
Author SHA1 Message Date
G JohanssonandGitHub dee4aff41d Add async_will_remove_from_hass to pylint super call checker (#175986) 2026-07-29 13:39:09 +02:00
8e7deee967 Add pylint checker to check for using registries as fixture (#172455)
Co-authored-by: Markus Tuominen <3738613+Markus98@users.noreply.github.com>
2026-07-22 09:56:23 +03:00
Markus TuominenandGitHub 53c4711a4e Add test-before-configure pylint quality scale checker (#176894) 2026-07-21 10:02:01 +03:00
3cea3f6575 Flag hass.data.setdefault/get(DOMAIN) in runtime_data pylint checker (#176084)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 07:39:15 +02:00
4685a4a7a3 Add pylint rule enforcing usb dependency for SerialPortSelector (#175876)
Co-authored-by: Claude <noreply@anthropic.com>
2026-07-07 15:11:16 -04:00
Markus TuominenandGitHub 9c34477559 Add entity-unique-id-redundant-platform pylint check (#174442) 2026-06-30 14:34:59 +03:00
Markus TuominenandGitHub a557e96c53 Add walk_checker helper to deduplicate pylint rule tests (#175113) 2026-06-29 20:41:07 +02:00
cdd063083d Add entity-unique-id-redundant-domain pylint check (#173434)
Co-authored-by: Ariel Ebersberger <ariel@ebersberger.io>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-22 12:33:38 +02:00
66f0f170b7 Add pylint naive_now checker (#174053)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2026-06-17 11:44:42 +02:00
epenetandGitHub e00b8f154e Add pylint checker for direct calls to component.async_unload_entry (#173870) 2026-06-15 15:49:30 +02:00
Franck NijhofandGitHub 579fbd2ae8 Add pylint checker for unnecessary format_mac in connection tuples (#173729) 2026-06-15 14:33:23 +02:00
caaf5f9715 Adjust pylint checker to prevent invalid use of Platform enum (#173374)
Co-authored-by: Markus Tuominen <3738613+Markus98@users.noreply.github.com>
2026-06-14 16:17:00 +02:00
Martin HjelmareandGitHub 102cb4b69e Add pylint enforce dt.now checker (#173005) 2026-06-10 11:48:49 +02:00
977a9ecdd2 Add entity-unique-id pylint quality scale checker (#172815)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ariel Ebersberger <31776703+justanotherariel@users.noreply.github.com>
2026-06-05 17:35:48 +02:00
Martin HjelmareandGitHub 40073e598c Fix pylint utcnow checker for dt_util.UTC (#173083) 2026-06-05 16:14:57 +02:00
epenetandGitHub 1a63a38234 Add hass.states.async_entity_ids to domain constant checker (#172923) 2026-06-04 10:33:16 +02:00
593ae9eb80 Add pylint plugin for correct use of DOMAIN constants in tests (#172693)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Markus Tuominen <3738613+Markus98@users.noreply.github.com>
2026-06-03 16:53:15 +02:00
Martin HjelmareandGitHub fed946760d Add pylint plugin to enforce util.dt.utcnow (#172354) 2026-06-01 12:17:29 +02:00
Joost LekkerkerkerandGitHub e5fad17e17 Add pylint rule for checking async_migrate_entry calls in tests (#171877) 2026-05-28 20:22:41 +02:00
Joost LekkerkerkerandGitHub c07fed05df Add pylint rule for checking async_setup_entry calls in tests (#171864) 2026-05-28 19:28:29 +02:00
Joost LekkerkerkerandGitHub d5bae0a2cf Add pylint rule for checking async_setup calls in tests (#171890) 2026-05-25 20:56:44 +02:00
b82ba43fa4 Add pylint checker for invalid MDI icon references (#171824)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-22 13:45:40 +02:00
Markus TuominenandGitHub 6b379e50cf Add has-entity-name pylint quality scale checker (#171486) 2026-05-21 10:21:06 +03:00
e8ac982e83 Add pylint checker for exception translation validation (#171453)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-20 19:45:56 +02:00
6fa5fc77aa Add pylint checker for duplicate homeassistant.const definitions (#170848)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-19 15:10:13 +02:00
Franck NijhofandGitHub 318091689c Fix line length violations in new code since cleanup PRs (#171062) 2026-05-18 14:03:52 +02:00
Franck NijhofGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>frenck
9a1fd913bf Fix line length violations in tests (non-components) (#170804)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
2026-05-17 10:30:45 -04:00
5f811e856f Add pylint checker for redundant EntityDescription defaults (#170810)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-15 21:49:17 +02:00
84019955ce Add pylint checker for sequential async_add_executor_job calls (#170789)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-15 20:31:46 +02:00
Franck NijhofandGitHub 7da2014ff2 Add pylint checker for redundant @pytest.mark.usefixtures decorator (#170787) 2026-05-15 20:29:33 +02:00
Franck NijhofandGitHub dac2c91ae5 Add pylint checker for service registration in async_setup_entry (#170730) 2026-05-14 17:22:39 -04:00
Franck NijhofandGitHub e0ac404f96 Add pylint checker for branching in test functions (#170541) 2026-05-14 16:09:16 -04:00
Franck NijhofandGitHub 7cdb6d27e7 Migrate reauthentication-flow quality scale check from hassfest to pylint (#170715) 2026-05-14 16:08:27 -04:00
Franck NijhofandGitHub bc0899ba10 Migrate config-entry-unloading quality scale check from hassfest to pylint (#170720) 2026-05-14 16:06:12 -04:00
Franck NijhofandGitHub 8304f35734 Migrate diagnostics quality scale check from hassfest to pylint (#170717) 2026-05-14 16:03:23 -04:00
2eb0701792 Migrate parallel-updates quality scale check from hassfest to pylint (#170533)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-14 21:02:03 +02:00
017f85243a Add pylint checker for swallowed exceptions in action handlers (#170652)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-14 20:59:17 +02:00
Franck NijhofandGitHub 286e5f246f Add pylint checker for unused test fixture arguments (#170537) 2026-05-13 20:14:12 -04:00
Franck NijhofandGitHub 1e8a9ded70 Refactor pylint plugins into pylint_home_assistant package (#170521) 2026-05-13 17:12:19 -04:00
Franck NijhofGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>frenckClaude Opus 4.6
a2131c0d45 Add pylint plugin to detect name fields in config flow schemas (#168875)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-13 12:30:30 +02:00
epenetandGitHub 88525955ce Remove import annotations from tests (#169527) 2026-04-30 09:30:46 +02:00
Franck NijhofGitHubCopilotcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>frenck
76376d6b26 Add pylint plugin to detect IP-based unique IDs in config entries (#168822)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
2026-04-24 10:59:59 +02:00
Franck NijhofandGitHub 507b5f1bbf Add pylint plugin to detect polling interval fields in config flows (#168849) 2026-04-22 23:41:43 +02:00
Franck NijhofandGitHub fab59d7a13 Add pylint plugin to enforce entry.runtime_data over hass.data[DOMAIN] (#168760) 2026-04-22 15:31:58 +02:00
Joost LekkerkerkerandGitHub cb990823cd Improve platforms pylint plugin (#164067) 2026-02-25 16:15:28 +01:00
epenetandGitHub 2f95d1ef78 Mark lock entity type hints as mandatory (#163796) 2026-02-23 16:50:52 +01:00
epenetandGitHub bdc881c87a Handle missing argument in hass_enforce_type_hints (#152342) 2025-09-15 09:45:27 +02:00
48300f4563 Use greek small letter mu "\u03bc" instead of micro sign "\u00B5" for micro unit prefix (alt 1) (#144853)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-08-19 18:48:50 +02:00
G JohanssonandGitHub a7de947f00 Add vacuum activity to pylint type hints check (#147162) 2025-06-23 18:12:18 +01:00
G JohanssonandGitHub 77dca49c75 Fix pylint plugin for vacuum entity (#146467)
* Clean out legacy VacuumEntity from pylint plugins

* Fix

* Fix pylint for vacuum

* More fixes

* Revert partial

* Add back state
2025-06-19 12:49:10 +02:00