Skip to content

Commit 3829a35

Browse files
committed
fix(pre-commit): Per precommit changes
1 parent 10db35e commit 3829a35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

components/esp_wifi_remote/scripts/generate_and_check.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,8 +642,7 @@ def get_idf_version(idf_path):
642642
major = match.group(1)
643643
minor = match.group(2)
644644
patch = match.group(4) if match.group(4) else '0' # Default to 0 if patch not present
645-
return f"{major}.{minor}.{patch}"
646-
645+
return f'{major}.{minor}.{patch}'
647646
# Fallback to environment variable
648647
idf_version = os.getenv('ESP_IDF_VERSION')
649648
if idf_version is None:

0 commit comments

Comments
 (0)