beryllium-org / OS

Beryllium OS, a unix-like operating system for CircuitPython powered microcontrollers. (Formerly known as ljinux)
GNU General Public License v3.0
226 stars 14 forks source link

PEP 8 friendly edits + cleaning and reducing logic #3

Closed marios-pz closed 2 years ago

marios-pz commented 2 years ago
  1. organized repetitive imports

  2. removed few python2 syntax

  3. commented 2 unnecessary file readings that closed by the time they opened

  4. removed ljinux.history.historyitems because len() exists.

  5. improved class Serial printing by using format

  6. reduced waste logic in class networking

marios-pz commented 2 years ago

Make sure pico works after doing 3 and 4

bill88t commented 2 years ago

Will manually merge, because there are conflicting code changes.

bill88t commented 2 years ago

Manually merged into 20124ba74223433a4b8a32dddd782ff0c4e9e3eb Closing.