Proposed Improvement: migrate from Poetry + requirements.txt to UV #540
Annotations
10 errors
|
Ruff Check:
custom_components/battery_notes/__init__.py#L214
custom_components/battery_notes/__init__.py:214:11: ANN201 Missing return type annotation for public function `async_migrate_entry`
|
|
Ruff Check:
custom_components/battery_notes/__init__.py#L189
custom_components/battery_notes/__init__.py:189:5: PLR5501 Use `elif` instead of `else` then `if`, to reduce indentation
|
|
Ruff Check:
custom_components/battery_notes/__init__.py#L152
custom_components/battery_notes/__init__.py:152:5: S101 Use of `assert` detected
|
|
Ruff Check:
custom_components/battery_notes/__init__.py#L19
custom_components/battery_notes/__init__.py:19:42: TC001 Move application import `homeassistant.helpers.typing.ConfigType` into a type-checking block
|
|
Ruff Check:
custom_components/battery_notes/__init__.py#L7
custom_components/battery_notes/__init__.py:7:1: I001 Import block is un-sorted or un-formatted
|
|
Ruff Check:
.github/scripts/library_doc/generate_file.py#L67
.github/scripts/library_doc/generate_file.py:67:10: PTH123 `open()` should be replaced by `Path.open()`
|
|
Ruff Check:
.github/scripts/library_doc/generate_file.py#L39
.github/scripts/library_doc/generate_file.py:39:62: RUF001 String contains ambiguous `×` (MULTIPLICATION SIGN). Did you mean `x` (LATIN SMALL LETTER X)?
|
|
Ruff Check:
.github/scripts/library_doc/generate_file.py#L14
.github/scripts/library_doc/generate_file.py:14:10: PTH123 `open()` should be replaced by `Path.open()`
|
|
Ruff Check:
.github/scripts/library_doc/generate_file.py#L10
.github/scripts/library_doc/generate_file.py:10:5: ANN201 Missing return type annotation for public function `generate_device_list`
|
|
Ruff Check:
.github/scripts/library_doc/generate_file.py#L1
.github/scripts/library_doc/generate_file.py:1:1: INP001 File `.github/scripts/library_doc/generate_file.py` is part of an implicit namespace package. Add an `__init__.py`.
|
Loading