16 Commits

Author SHA1 Message Date
2c13c70e12 Update ruff to 0.12.0 (#147106) 2025-06-19 20:39:09 +02:00
Sid
1db68327f9 Enable Ruff PTH for the script directory (#124441)
* Enable Ruff PTH for the script directory

* Address review comments

* Fix translations script

* Update script/hassfest/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-06 11:33:01 +02:00
e734971d33 Enable collections-named-tuple (PYI024) rule in ruff (#123019) 2024-08-02 15:28:32 +02:00
dc47792ff2 Update codespell to 2.3.0 (#118001) 2024-05-24 08:22:29 +02:00
Sid
f7b7f74d10 Enable Ruff TRY201 (#114269)
* Enable Ruff TRY201

* remove redundant rules
2024-03-28 10:18:07 +01:00
a6b842f818 Add empty line after module docstring (2) [other] (#112738) 2024-03-08 19:16:38 +01:00
fd5cda4ec6 Issue bytes vs str related warnings from tests (#101186) 2023-11-27 21:59:54 +01:00
f7aad4a9e6 Call pytest as python3 -m pytest (#101185) 2023-10-06 13:22:56 +02:00
5551a345ea Remove some unnecessary uses of regular expressions (#101182) 2023-10-03 20:55:00 -05:00
6399d74c15 Remove unnnecessary pylint configs from core (#98704) 2023-08-22 23:12:12 +02:00
b1a3bfb298 Drop flake8 in favor of Ruff (#89863) 2023-03-17 13:30:06 +01:00
ca1a12898c Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
e738924780 Enable Ruff SIM105 (#86759)
* Enable Ruff SIM105

* Adjust existing cases
2023-01-26 21:06:22 -05:00
bf41a971a2 Introduce ruff (eventually replacing autoflake, pyupgrade, flake8) (#86224) 2023-01-24 12:15:16 +01:00
79b52a2b41 Stricter pylint message control (#86154) 2023-01-20 13:47:55 +01:00
4ea9926497 Not to Tox (#76582) 2022-11-23 14:40:37 +01:00