mirror of
https://github.com/espressif/esptool.git
synced 2025-10-15 21:07:25 +08:00
refactoring: Employ Black code formatting
This commit is contained in:
13
espsecure.py
13
espsecure.py
@@ -1,15 +1,18 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016-2022 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-FileCopyrightText: 2014-2022 Fredrik Ahlberg, Angus Gratton,
|
||||
# Espressif Systems (Shanghai) CO LTD, other contributors as noted.
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
# This executable script is a thin wrapper around the main functionality in the espsecure Python package
|
||||
# This executable script is a thin wrapper around the main functionality
|
||||
# in the espsecure Python package
|
||||
#
|
||||
# If esptool (with espefuse and espsecure) is installed via setup.py or pip then this file is not used at all,
|
||||
# it's compatibility for the older "run from source dir" esptool approach.
|
||||
# If esptool (with espefuse and espsecure) is installed via setup.py or pip
|
||||
# then this file is not used at all,
|
||||
# it's compatibility for the older "run from source dir" espsecure approach.
|
||||
|
||||
import espsecure
|
||||
|
||||
if __name__ == '__main__':
|
||||
if __name__ == "__main__":
|
||||
espsecure._main()
|
||||
|
Reference in New Issue
Block a user