mirror of
https://github.com/esphome/esphome.git
synced 2025-09-10 07:12:21 +01:00
Fix some lint errors in pylint 2.10.2 (#2226)
This commit is contained in:
@@ -276,11 +276,11 @@ def file_compare(path1: os.PathLike, path2: os.PathLike) -> bool:
|
||||
# A dict of types that need to be converted to heaptypes before a class can be added
|
||||
# to the object
|
||||
_TYPE_OVERLOADS = {
|
||||
int: type("EInt", (int,), dict()),
|
||||
float: type("EFloat", (float,), dict()),
|
||||
str: type("EStr", (str,), dict()),
|
||||
dict: type("EDict", (str,), dict()),
|
||||
list: type("EList", (list,), dict()),
|
||||
int: type("EInt", (int,), {}),
|
||||
float: type("EFloat", (float,), {}),
|
||||
str: type("EStr", (str,), {}),
|
||||
dict: type("EDict", (str,), {}),
|
||||
list: type("EList", (list,), {}),
|
||||
}
|
||||
|
||||
# cache created classes here
|
||||
|
Reference in New Issue
Block a user