Add type hints to homeassistant.auth (#15853)
* Always load users in auth store before use * Use namedtuple instead of dict for user meta * Ignore auth store tokens with invalid created_at * Add type hints to homeassistant.auth
This commit is contained in:
parent
e9e5bce10c
commit
649f17fe47
9 changed files with 300 additions and 200 deletions
2
tox.ini
2
tox.ini
|
@ -58,4 +58,4 @@ whitelist_externals=/bin/bash
|
|||
deps =
|
||||
-r{toxinidir}/requirements_test.txt
|
||||
commands =
|
||||
/bin/bash -c 'mypy homeassistant/*.py homeassistant/util/'
|
||||
/bin/bash -c 'mypy homeassistant/*.py homeassistant/auth/ homeassistant/util/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue