tuya / tuya-iot-python-sdk

Tuya IoT Python SDK for Tuya Open API.
MIT License
117 stars 47 forks source link

Remove shebang and encoding markers from Python files #23

Closed frenck closed 2 years ago

frenck commented 2 years ago

This PR cleans up two things from all Python files.

  1. Removes shebang from every Python file

    None of the Python files in this repository is actually marked as executable (which is good, as most of them should not be executable), this also means the shebang isn't needed. Therefore I've removed them and cleaned them up.

  2. Removes code encoding hint from every Python file

    As of PEP 3120, the default encoding for Python source is UTF-8; Therefore, I've removed them and cleaned them all up. See: https://www.python.org/dev/peps/pep-3120/