python-visualization / branca

This library is a spinoff from folium, that would host the non-map-specific features.
https://python-visualization.github.io/branca/
MIT License
111 stars 63 forks source link

Fix flake8 errors #80

Closed Conengmo closed 4 years ago

Conengmo commented 4 years ago

Flake8 suddenly failed on element.py after merging PR https://github.com/python-visualization/branca/pull/79, even though it doesn't even touch the file.

Anyway, address the error with a small refactor. While I was there I did away with storing ''.format as a variable, since it's not necessary.