mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-27 17:04:42 +03:00
Typing Part 3: events.py (#3352)
* Typing: events.py * Remove unused variable * Fix return Any from return statement Not all elements from the event dict are sure to be something that can be evaluated See e.g.: https://github.com/python/mypy/issues/5697 * Sort out Event disambiguity There was a name collision of multiprocessing Event type and frigate events Co-authored-by: Sebastian Englbrecht <sebastian.englbrecht@kabelmail.de>
This commit is contained in:
co-authored by
Sebastian Englbrecht
parent
a04fa105ef
commit
2e81c94d8e
@@ -34,6 +34,9 @@ disallow_untyped_calls = false
|
||||
[mypy-frigate.const]
|
||||
ignore_errors = false
|
||||
|
||||
[mypy-frigate.events]
|
||||
ignore_errors = false
|
||||
|
||||
[mypy-frigate.log]
|
||||
ignore_errors = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user