mkaz / termgraph

a python command-line tool which draws basic graphs in the terminal
MIT License
3.14k stars 165 forks source link

Replace f-strings (Python >=3.6) by a direct format call #44

Closed eldipa closed 4 years ago

eldipa commented 5 years ago

This pr propose to replace all the f-strings by a call to format (but there are a lot of different ways to replace f-strings to something compatible with Python 3.x), one of the may blockers to run termgraph in Python 3.x (see #28 )

I ran the unit tests with this:

$ python -m unittest -q tests/test_termgraph.py

And all except 3 tests pass:

However they don't look to be related with the fact that I ran them in Python 3.5.

mkaz commented 4 years ago

I rebased and merged. Thanks!