mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-30 02:00:51 +03:00
Replace Python 3.10+ X | Y union syntax with Optional/Union from typing, remove unsupported @dataclass(slots=True), fix flake8 E203 slice whitespace, and apply auto-fixed import ordering and quote style.
7 lines
189 B
Python
7 lines
189 B
Python
# SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
sys.path.insert(0, str(Path(__file__).parent))
|