hass-core/script
Tomasz Wieczorek 501e7c84be
Type scaffold PLATFORMS (#55699)
* Added template base type

Proposition to add typing, as pre-commit test on newly created integrations fails on it automatically:

```
homeassistant/components/<my_integration>/__init__.py:11: error: Need type annotation for "PLATFORMS" (hint: "PLATFORMS: List[<type>] = ...")  [var-annotated]
Found 1 error in 1 file (checked 4 source files)
```

I believe there shouldn't be other type than text, hence the proposition.

* Apply suggestions from code review

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-09-04 01:21:18 +02:00
..
hassfest Whole-string match reqs in comment_requirement (#55192) 2021-08-30 08:20:02 -07:00
scaffold Type scaffold PLATFORMS (#55699) 2021-09-04 01:21:18 +02:00
translations Update typing 16 (#48087) 2021-03-18 22:58:19 +01:00
__init__.py
bootstrap Fix version of pip in tox (#46656) 2021-02-16 12:26:41 -10:00
check_dirty
check_format
gen_requirements_all.py Whole-string match reqs in comment_requirement (#55192) 2021-08-30 08:20:02 -07:00
inspect_schemas.py
lazytox.py Clean lazytox script (#48583) 2021-04-01 11:34:01 -07:00
lint
monkeytype
release
run-in-env.sh Secure not to activate multiple venv in pre_commit hook (#51715) 2021-06-10 19:27:24 +02:00
server
setup Add Logger Check Before Adding Another (#47954) 2021-03-17 11:11:39 +01:00
update
version_bump.py Fix version bump script (#50932) 2021-05-21 19:31:04 +02:00