Skip to content

Commit 30da512

Browse files
Fix lints
1 parent 4fd59be commit 30da512

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

homu/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ def synchronize(repo_label, repo_cfg, logger, gh, states, repos, db, mergeable_q
16681668

16691669
def process_config(config):
16701670
# Replace environment variables
1671-
if type(config) == str:
1671+
if type(config) is str:
16721672
for var in VARIABLES_RE.findall(config):
16731673
try:
16741674
config = config.replace("${"+var+"}", os.environ[var])
@@ -1680,9 +1680,9 @@ def process_config(config):
16801680

16811681
return config
16821682
# Recursively apply the processing
1683-
elif type(config) == list:
1683+
elif type(config) is list:
16841684
return [process_config(item) for item in config]
1685-
elif type(config) == dict:
1685+
elif type(config) is dict:
16861686
return {key: process_config(value) for key, value in config.items()}
16871687
# All other values should be returned as-is
16881688
else:

0 commit comments

Comments
 (0)