mirror of
https://github.com/TinyTapeout/tt-support-tools.git
synced 2026-11-03 04:36:09 +01:00
fix: use 'is' for type comparison as suggested by new flake8
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ def write_mk_config(config: dict, file: str):
|
||||
for key, value in config.items():
|
||||
if type(value) in (list, tuple):
|
||||
value = " ".join(value)
|
||||
if type(value) == str:
|
||||
if type(value) is str:
|
||||
value = value.replace("dir::", "$(DESIGN_HOME)/")
|
||||
print(f"export {key} = {value}", file=f)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user