carlosperate / ubittool

Utility to extract the contents of flash from a micro:bit, including MicroPython user code.
https://carlosperate.github.io/ubittool/
MIT License
16 stars 4 forks source link

Add Black, the uncompromising Python code formater. #5

Closed carlosperate closed 5 years ago

carlosperate commented 5 years ago

And apply its code style to the Python code.

codecov[bot] commented 5 years ago

Codecov Report

Merging #5 into master will not change coverage. The diff coverage is 88.33%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master      #5   +/-   ##
======================================
  Coverage    88.8%   88.8%           
======================================
  Files           6       6           
  Lines         393     393           
======================================
  Hits          349     349           
  Misses         44      44
Impacted Files Coverage Δ
ubitflashtool/__init__.py 100% <100%> (ø) :arrow_up:
ubitflashtool/cli.py 100% <100%> (ø) :arrow_up:
ubitflashtool/programmer.py 75% <50%> (ø) :arrow_up:
ubitflashtool/cmds.py 87.95% <76.92%> (ø) :arrow_up:
ubitflashtool/gui.py 87.11% <86.56%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d1ecdf2...1a22ca0. Read the comment docs.