File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
22from __future__ import unicode_literals
33
4- from icon_font_to_png .icon_font import IconFont
5- from icon_font_to_png .icon_font_downloader import (
4+ from icon_font_to_png .icon_font import IconFont # noqa
5+ from icon_font_to_png .icon_font_downloader import ( # noqa
66 FontAwesomeDownloader , OcticonsDownloader , AVAILABLE_ICON_FONTS
77)
88
Original file line number Diff line number Diff line change @@ -113,10 +113,12 @@ def run(arguments):
113113 selected_icons = icon_font .css_icons .keys ()
114114 else :
115115 for icon in args .icons :
116- if args .keep_prefix and not icon .startswith (icon_font .common_prefix ):
116+ if (args .keep_prefix and
117+ not icon .startswith (icon_font .common_prefix )):
117118 # Prepend icon name with prefix
118119 icon = icon_font .common_prefix + icon
119- elif not args .keep_prefix and icon .startswith (icon_font .common_prefix ):
120+ elif (not args .keep_prefix and
121+ icon .startswith (icon_font .common_prefix )):
120122 # Remove prefix from icon name
121123 icon = icon [len (icon_font .common_prefix ):]
122124
Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ def find_version(*file_paths):
4040setup (
4141 name = 'icon_font_to_png' ,
4242 url = 'https://github.com/Pythonity/icon-font-to-png' ,
43- download_url = 'https://github.com/Pythonity/icon-font-to-png/releases/latest' ,
43+ download_url = 'https://github.com/Pythonity/icon-font-to-png/releases/'
44+ 'latest' ,
4445 bugtrack_url = 'https://github.com/Pythonity/icon-font-to-png/issues' ,
4546 version = find_version ('icon_font_to_png' , '__init__.py' ),
4647 license = 'MIT License' ,
You can’t perform that action at this time.
0 commit comments